Commit b48f9126 authored by Stefan Behnel's avatar Stefan Behnel

test fix for Py<2.5

parent d75f7385
......@@ -6,8 +6,8 @@ TypeError: ...
"""
import sys
if sys.version_info[0:2] >= (2,4):
__doc__ = __doc__.replace(u'TypeError:', u'AttributeError:')
if sys.version_info >= (2,5):
__doc__ = __doc__.replace('TypeError:', 'AttributeError:')
cdef extern from "external_defs.h":
......
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