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

test fix for PyPy

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