From: Robert Bradshaw Date: Fri, 12 Nov 2010 08:51:41 +0000 (-0800) Subject: Tree structure test changes. X-Git-Tag: 0.14.alpha0~178^2~7 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=32f6b9ce60db5a06302a060d627299a096407412;p=cython.git Tree structure test changes. --- diff --git a/tests/run/type_inference.pyx b/tests/run/type_inference.pyx index b78f70e2..09b996a6 100644 --- a/tests/run/type_inference.pyx +++ b/tests/run/type_inference.pyx @@ -350,8 +350,7 @@ cdef object some_float_value(): @cython.test_fail_if_path_exists('//NameNode[@type.is_pyobject = True]') -@cython.test_assert_path_exists('//InPlaceAssignmentNode/NameNode', - '//NameNode[@type.is_pyobject]', +@cython.test_assert_path_exists('//NameNode[@type.is_pyobject]', '//NameNode[@type.is_pyobject = False]') @infer_types(None) def double_loop(): diff --git a/tests/run/unicode_indexing.pyx b/tests/run/unicode_indexing.pyx index db1b5b69..62975eab 100644 --- a/tests/run/unicode_indexing.pyx +++ b/tests/run/unicode_indexing.pyx @@ -243,7 +243,6 @@ def index_add(unicode ustring, Py_ssize_t i, Py_ssize_t j): @cython.test_assert_path_exists("//CoerceToPyTypeNode", "//IndexNode", - "//InPlaceAssignmentNode", "//CoerceToPyTypeNode//IndexNode") @cython.test_fail_if_path_exists("//IndexNode//CoerceToPyTypeNode") def index_concat_loop(unicode ustring):