From 32f6b9ce60db5a06302a060d627299a096407412 Mon Sep 17 00:00:00 2001 From: Robert Bradshaw Date: Fri, 12 Nov 2010 00:51:41 -0800 Subject: [PATCH] Tree structure test changes. --- tests/run/type_inference.pyx | 3 +-- tests/run/unicode_indexing.pyx | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) 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): -- 2.26.2