Commit 8e4a119b authored by Stefan Behnel's avatar Stefan Behnel

test fix for PyPy

parent cb69432c
# mode: run
# ticket: 303 # ticket: 303
__doc__ = """ __doc__ = """
>>> readonly() #doctest: +ELLIPSIS >>> try: readonly()
Traceback (most recent call last): ... except (TypeError, AttributeError): pass
...
TypeError: ...
""" """
import sys
if sys.version_info >= (2,5):
__doc__ = __doc__.replace('TypeError:', 'AttributeError:')
cdef extern from "external_defs.h": cdef extern from "external_defs.h":
ctypedef float DoubleTypedef ctypedef float DoubleTypedef
......
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