Commit de9aec9e authored by Stefan Behnel's avatar Stefan Behnel

adapted doctest for PyPy

parent 8416b298
...@@ -59,25 +59,20 @@ True ...@@ -59,25 +59,20 @@ True
TYPE_FIXES_REQUIRED: TYPE_FIXES_REQUIRED:
>>> b.b1 = 1 #doctest: +ELLIPSIS >>> try: b.b1 = 1
Traceback (most recent call last): ... except (TypeError, AttributeError): pass
TypeError: ...
>>> b.c1 = 1 #doctest: +ELLIPSIS >>> try: b.c1 = 1
Traceback (most recent call last): ... except (TypeError, AttributeError): pass
TypeError: ...
>>> b.a2 = None #doctest: +ELLIPSIS >>> try: b.a2 = None
Traceback (most recent call last): ... except (TypeError, AttributeError): pass
AttributeError: ...
>>> b.b2 = [] #doctest: +ELLIPSIS >>> try: b.b2 = []
Traceback (most recent call last): ... except (TypeError, AttributeError): pass
AttributeError: ...
>>> b.c2 = A() #doctest: +ELLIPSIS >>> try: b.c2 = A()
Traceback (most recent call last): ... except (TypeError, AttributeError): pass
AttributeError: ...
""" """
import sys 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