From: Stefan Behnel Date: Wed, 28 Oct 2009 07:02:03 +0000 (+0100) Subject: extended test case to make sure the ref-count optimisation strikes X-Git-Tag: 0.12.alpha0~11^2~4 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d7115decacd43e3d4e5de26427d23299aca96e63;p=cython.git extended test case to make sure the ref-count optimisation strikes --- diff --git a/tests/run/parallel_swap_assign_T425.pyx b/tests/run/parallel_swap_assign_T425.pyx index 18db9c0d..89070e4a 100644 --- a/tests/run/parallel_swap_assign_T425.pyx +++ b/tests/run/parallel_swap_assign_T425.pyx @@ -85,11 +85,14 @@ cdef class A: @cython.test_assert_path_exists( "//ParallelAssignmentNode", "//ParallelAssignmentNode/SingleAssignmentNode", + "//ParallelAssignmentNode/SingleAssignmentNode/CoerceToTempNode", + "//ParallelAssignmentNode/SingleAssignmentNode/CoerceToTempNode[@use_managed_ref=False]", "//ParallelAssignmentNode/SingleAssignmentNode//AttributeNode/NameNode", "//ParallelAssignmentNode/SingleAssignmentNode//AttributeNode[@use_managed_ref=False]/NameNode", ) @cython.test_fail_if_path_exists( -# "//ParallelAssignmentNode/SingleAssignmentNode//AttributeNode[@use_managed_ref=True]", + "//ParallelAssignmentNode/SingleAssignmentNode/CoerceToTempNode[@use_managed_ref=True]", + "//ParallelAssignmentNode/SingleAssignmentNode/AttributeNode[@use_managed_ref=True]", ) def swap_attr_values(A a, A b): """