From e80d067865bcd9c3b990f583541b099a57a5a843 Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Thu, 29 Apr 2010 08:06:02 +0200 Subject: [PATCH] extended test case --- tests/run/consts.pyx | 8 ++++++++ 1 file changed, 8 insertions(+) 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 -- 2.26.2