projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c536643
)
test simplification
author
Stefan Behnel
<scoder@users.berlios.de>
Tue, 20 Oct 2009 18:06:22 +0000
(20:06 +0200)
committer
Stefan Behnel
<scoder@users.berlios.de>
Tue, 20 Oct 2009 18:06:22 +0000
(20:06 +0200)
tests/run/r_mitch_chapman_2.pyx
patch
|
blob
|
history
diff --git
a/tests/run/r_mitch_chapman_2.pyx
b/tests/run/r_mitch_chapman_2.pyx
index 4e3d19c62cfe7e8bfe1798d728a324c5e3cf6f95..e0596a14733b0f0a9eee918384447337ea12e970 100644
(file)
--- a/
tests/run/r_mitch_chapman_2.pyx
+++ b/
tests/run/r_mitch_chapman_2.pyx
@@
-1,15
+1,11
@@
__doc__ = u"""
>>> boolExpressionsFail()
-
u
'Not 2b'
+ 'Not 2b'
"""
-import sys
-if sys.version_info[0] >= 3:
- __doc__ = __doc__.replace(u" u'", u" '")
-
def boolExpressionsFail():
dict = {1: 1}
if not "2b" in dict:
- return
u
"Not 2b"
+ return "Not 2b"
else:
- return
u
"2b?"
+ return "2b?"