From: Stefan Behnel Date: Fri, 4 Dec 2009 14:23:23 +0000 (+0100) Subject: test fixes X-Git-Tag: 0.12.1~87 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=968989d1522c124dd438c40440fa5d308cc75106;p=cython.git test fixes --- diff --git a/tests/run/builtinnames.pyx b/tests/run/builtinnames.pyx index b3b5fac5..06d425b0 100644 --- a/tests/run/builtinnames.pyx +++ b/tests/run/builtinnames.pyx @@ -22,12 +22,12 @@ cdef type(arg): @cython.test_fail_if_path_exists( - '//SimpleCallNode/NameNode[@name="type" and @entry.is_cfunction]', - '//SimpleCallNode/NameNode[@name="len" and @entry.is_cfunction]', + '//SimpleCallNode/NameNode[@name="type" and @entry.is_cfunction=False]', + '//SimpleCallNode/NameNode[@name="len" and @entry.is_cfunction=True]', ) @cython.test_assert_path_exists( '//SimpleCallNode/NameNode[@name="type"]', - '//SimpleCallNode/NameNode[@name="type" and not(@entry.is_cfunction)]', + '//SimpleCallNode/NameNode[@name="type" and @entry.is_cfunction=True]', '//SimpleCallNode/NameNode[@name="len"]', ) def test_c(arg):