Commit bbd5e5df authored by Stefan Behnel's avatar Stefan Behnel

tighten test assertions to make sure we correctly infer the target type during C array unpacking

parent 657a0066
......@@ -144,7 +144,13 @@ def test_ptr_literal_list_slice_end():
return (a[0], a[1], a[2], a[3], a[4])
@cython.test_assert_path_exists('//ReturnStatNode//CoerceToPyTypeNode')
@cython.test_fail_if_path_exists(
'//ParallelAssignmentNode//CoerceToPyTypeNode'
)
@cython.test_assert_path_exists(
'//ParallelAssignmentNode',
'//ReturnStatNode//CoerceToPyTypeNode'
)
def test_multiple_from_slice():
"""
>>> test_multiple_from_slice()
......
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