From: Stefan Behnel Date: Thu, 29 Apr 2010 06:06:02 +0000 (+0200) Subject: extended test case X-Git-Tag: 0.13.beta0~128 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=e80d067865bcd9c3b990f583541b099a57a5a843;p=cython.git extended test case --- diff --git a/tests/run/consts.pyx b/tests/run/consts.pyx index 7f083173..2ae5c785 100644 --- 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