projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8239de
)
extended test case
author
Stefan Behnel
<scoder@users.berlios.de>
Thu, 29 Apr 2010 06:06:02 +0000
(08:06 +0200)
committer
Stefan Behnel
<scoder@users.berlios.de>
Thu, 29 Apr 2010 06:06:02 +0000
(08:06 +0200)
tests/run/consts.pyx
patch
|
blob
|
history
diff --git
a/tests/run/consts.pyx
b/tests/run/consts.pyx
index 7f08317388039695a25e0f4625423995f5cd769a..2ae5c785b997fff09aca5df24855c615f1162d32 100644
(file)
--- a/
tests/run/consts.pyx
+++ b/
tests/run/consts.pyx
@@
-98,3
+98,11
@@
def compile_time_DEF():
(1, False, True, True, False)
"""
return INT_VAL, INT_VAL == 0, INT_VAL != 0, INT_VAL == 1, INT_VAL != 1
+
+@cython.test_fail_if_path_exists("//PrimaryCmpNode")
+def cascaded_compare():
+ """
+ >>> cascaded_compare()
+ True
+ """
+ return 1 < 2 < 3 < 4