Commit 69a86840 authored by Stefan Behnel's avatar Stefan Behnel

Py3 test fix

--HG--
extra : transplant_source : %1CI-%A6a%F0%97%A1%AF9%22%C1%03%D7%0C%84%A3%DE%CBc
parent 1fe57453
...@@ -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