Commit 968989d1 authored by Stefan Behnel's avatar Stefan Behnel

test fixes

parent 6092931e
...@@ -22,12 +22,12 @@ cdef type(arg): ...@@ -22,12 +22,12 @@ cdef type(arg):
@cython.test_fail_if_path_exists( @cython.test_fail_if_path_exists(
'//SimpleCallNode/NameNode[@name="type" and @entry.is_cfunction]', '//SimpleCallNode/NameNode[@name="type" and @entry.is_cfunction=False]',
'//SimpleCallNode/NameNode[@name="len" and @entry.is_cfunction]', '//SimpleCallNode/NameNode[@name="len" and @entry.is_cfunction=True]',
) )
@cython.test_assert_path_exists( @cython.test_assert_path_exists(
'//SimpleCallNode/NameNode[@name="type"]', '//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"]', '//SimpleCallNode/NameNode[@name="len"]',
) )
def test_c(arg): def test_c(arg):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment