Commit dcc435e5 authored by Stefan Behnel's avatar Stefan Behnel

fix test

parent 78700a04
...@@ -22,13 +22,14 @@ cdef type(arg): ...@@ -22,13 +22,14 @@ cdef type(arg):
@cython.test_fail_if_path_exists( @cython.test_fail_if_path_exists(
'//PyMethodCallNode/NameNode[@name="type" and @entry.is_cfunction=False]',
'//SimpleCallNode/NameNode[@name="type" and @entry.is_cfunction=False]', '//SimpleCallNode/NameNode[@name="type" and @entry.is_cfunction=False]',
'//SimpleCallNode/NameNode[@name="len" and @entry.is_cfunction=True]', '//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 @entry.is_cfunction=True]', '//SimpleCallNode/NameNode[@name="type" and @entry.is_cfunction=True]',
'//SimpleCallNode/NameNode[@name="len"]', '//PyMethodCallNode/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