Commit 4f3278ed authored by Stefan Behnel's avatar Stefan Behnel

Py3 test fix

parent 6a65da7a
...@@ -372,7 +372,7 @@ def test_yield_in_const_conditional_false(): ...@@ -372,7 +372,7 @@ def test_yield_in_const_conditional_false():
[] []
""" """
if False: if False:
print(yield 1) print((yield 1))
@cython.test_fail_if_path_exists("//IfStatNode") @cython.test_fail_if_path_exists("//IfStatNode")
@cython.test_assert_path_exists("//PrintStatNode") @cython.test_assert_path_exists("//PrintStatNode")
...@@ -383,4 +383,4 @@ def test_yield_in_const_conditional_true(): ...@@ -383,4 +383,4 @@ def test_yield_in_const_conditional_true():
[1] [1]
""" """
if True: if True:
print(yield 1) print((yield 1))
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