Fix starred return test

This commit is contained in:
David Strobach 2020-08-26 19:31:40 +02:00
parent fca19d13fe
commit fb664b3456

View file

@ -1580,6 +1580,10 @@ def test_return_x_y():
check_stmts("return x, y", False)
@pytest.mark.skipif(
VER_MAJOR_MINOR < (3, 8),
reason="Python 3.8 feature"
)
def test_return_x_starexpr():
check_stmts("return x, *[y, z]", False)