Commit de9aec9e authored by Stefan Behnel's avatar Stefan Behnel

adapted doctest for PyPy

parent 8416b298
......@@ -59,25 +59,20 @@ True
TYPE_FIXES_REQUIRED:
>>> b.b1 = 1 #doctest: +ELLIPSIS
Traceback (most recent call last):
TypeError: ...
>>> try: b.b1 = 1
... except (TypeError, AttributeError): pass
>>> b.c1 = 1 #doctest: +ELLIPSIS
Traceback (most recent call last):
TypeError: ...
>>> try: b.c1 = 1
... except (TypeError, AttributeError): pass
>>> b.a2 = None #doctest: +ELLIPSIS
Traceback (most recent call last):
AttributeError: ...
>>> try: b.a2 = None
... except (TypeError, AttributeError): pass
>>> b.b2 = [] #doctest: +ELLIPSIS
Traceback (most recent call last):
AttributeError: ...
>>> try: b.b2 = []
... except (TypeError, AttributeError): pass
>>> b.c2 = A() #doctest: +ELLIPSIS
Traceback (most recent call last):
AttributeError: ...
>>> try: b.c2 = A()
... except (TypeError, AttributeError): pass
"""
import sys
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment