mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-04 16:34:47 +01:00
Fix starred return test
This commit is contained in:
parent
fca19d13fe
commit
fb664b3456
1 changed files with 4 additions and 0 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue