projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
85a4643
)
better error output from test case
author
Stefan Behnel
<scoder@users.berlios.de>
Fri, 12 Nov 2010 19:31:53 +0000
(20:31 +0100)
committer
Stefan Behnel
<scoder@users.berlios.de>
Fri, 12 Nov 2010 19:31:53 +0000
(20:31 +0100)
tests/run/consts.pyx
patch
|
blob
|
history
diff --git
a/tests/run/consts.pyx
b/tests/run/consts.pyx
index 2ae5c785b997fff09aca5df24855c615f1162d32..e779e3e1a522e1e9c50763124e9fef6ee11e8907 100644
(file)
--- a/
tests/run/consts.pyx
+++ b/
tests/run/consts.pyx
@@
-37,8
+37,8
@@
def long_int_mix():
"""
>>> long_int_mix() == 1 + (2 * 3) // 2
True
- >>> if IS_PY3: type(long_int_mix()) is int
- ... else: type(long_int_mix()) is long
+ >>> if IS_PY3: type(long_int_mix()) is int
or type(long_int_mix())
+ ... else: type(long_int_mix()) is long
or type(long_int_mix())
True
"""
return 1L + (2 * 3L) // 2