Commit e4004f16 authored by Stefan Behnel's avatar Stefan Behnel

minor test extension

parent b23ddd02
...@@ -286,6 +286,11 @@ def conditional_none(int a): ...@@ -286,6 +286,11 @@ def conditional_none(int a):
""" """
return None if a in {1,2,3,4} else 1 return None if a in {1,2,3,4} else 1
@cython.test_assert_path_exists(
"//BoolBinopNode",
"//BoolBinopNode//PrimaryCmpNode"
)
@cython.test_fail_if_path_exists("//ListNode")
def n(a): def n(a):
""" """
>>> n('d *') >>> n('d *')
......
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