mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-29 19:24:57 +08:00
Add test for unpack regression
This commit is contained in:
1 file changed
+4
@@ -24,3 +24,7 @@ def func2():
|
||||
return 20
|
||||
|
||||
assert ret(func1() or func2()) == 20
|
||||
|
||||
a, b = (1, 2) if True else (3, 4)
|
||||
assert a == 1
|
||||
assert b == 2
|
||||
Reference in new issue
Block a user