Commit 35619f6a authored by Stefan Behnel's avatar Stefan Behnel

minor test cleanup

parent 80d79c97
...@@ -10,8 +10,9 @@ cdef class TestInlineMethod(object): ...@@ -10,8 +10,9 @@ cdef class TestInlineMethod(object):
0 0
""" """
@cython.test_assert_path_exists("//AttributeNode[@entry.is_final_cmethod=True]") @cython.test_assert_path_exists(
@cython.test_assert_path_exists("//AttributeNode[@entry.is_inline_cmethod=True]") "//AttributeNode[@entry.is_inline_cmethod=True]",
"//AttributeNode[@entry.is_final_cmethod=True]")
def test_cdef_method(self): def test_cdef_method(self):
return self.cdef_inline_method() return self.cdef_inline_method()
...@@ -23,7 +24,8 @@ cdef class Subtyping(TestInlineMethod): ...@@ -23,7 +24,8 @@ cdef class Subtyping(TestInlineMethod):
0 0
""" """
@cython.test_assert_path_exists("//AttributeNode[@entry.is_final_cmethod=True]") @cython.test_assert_path_exists(
@cython.test_assert_path_exists("//AttributeNode[@entry.is_inline_cmethod=True]") "//AttributeNode[@entry.is_inline_cmethod=True]",
"//AttributeNode[@entry.is_final_cmethod=True]")
def test_cdef_subtyping(self): def test_cdef_subtyping(self):
return self.cdef_inline_method() return self.cdef_inline_method()
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