From: Stefan Behnel Date: Fri, 16 Jul 2010 06:59:59 +0000 (+0200) Subject: test fix X-Git-Tag: 0.13.beta0~2^2~15 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=0a9993ee97ae3e6bfd88fd957b9104a6da94f604;p=cython.git test fix --- diff --git a/tests/run/builtin_min_max.pyx b/tests/run/builtin_min_max.pyx index b05b2d08..1c809805 100644 --- a/tests/run/builtin_min_max.pyx +++ b/tests/run/builtin_min_max.pyx @@ -3,7 +3,7 @@ cimport cython # min() -@cython.test_assert_path_exists("//IfStatNode") +@cython.test_assert_path_exists("//CondExprNode") @cython.test_fail_if_path_exists("//SimpleCallNode") def min3(a,b,c): """ @@ -20,7 +20,7 @@ def min3(a,b,c): """ return min(a,b,c) -@cython.test_assert_path_exists("//IfStatNode") +@cython.test_assert_path_exists("//CondExprNode") @cython.test_fail_if_path_exists("//SimpleCallNode") def min3_typed(int a, int b, int c): """ @@ -37,7 +37,7 @@ def min3_typed(int a, int b, int c): """ return min(a,b,c) -@cython.test_assert_path_exists("//IfStatNode") +@cython.test_assert_path_exists("//CondExprNode") @cython.test_fail_if_path_exists("//SimpleCallNode") def literal_min3(): """ @@ -48,7 +48,7 @@ def literal_min3(): # max() -@cython.test_assert_path_exists("//IfStatNode") +@cython.test_assert_path_exists("//CondExprNode") @cython.test_fail_if_path_exists("//SimpleCallNode") def max3(a,b,c): """ @@ -65,7 +65,7 @@ def max3(a,b,c): """ return max(a,b,c) -@cython.test_assert_path_exists("//IfStatNode") +@cython.test_assert_path_exists("//CondExprNode") @cython.test_fail_if_path_exists("//SimpleCallNode") def max3_typed(int a, int b, int c): """ @@ -82,7 +82,7 @@ def max3_typed(int a, int b, int c): """ return max(a,b,c) -@cython.test_assert_path_exists("//IfStatNode") +@cython.test_assert_path_exists("//CondExprNode") @cython.test_fail_if_path_exists("//SimpleCallNode") def literal_max3(): """