projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d75f738
)
test fix for Py<2.5
author
Stefan Behnel
<scoder@users.berlios.de>
Sat, 17 Jul 2010 14:08:51 +0000
(16:08 +0200)
committer
Stefan Behnel
<scoder@users.berlios.de>
Sat, 17 Jul 2010 14:08:51 +0000
(16:08 +0200)
tests/run/typedfieldbug_T303.pyx
patch
|
blob
|
history
diff --git
a/tests/run/typedfieldbug_T303.pyx
b/tests/run/typedfieldbug_T303.pyx
index 653fa513a35af322ddf046c05c43464280416d82..6415f1da1ca0634cf601e1c7664c62a9d694825e 100644
(file)
--- a/
tests/run/typedfieldbug_T303.pyx
+++ b/
tests/run/typedfieldbug_T303.pyx
@@
-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":