Skip to content

Commit e4699e0

Browse files
committed
Python: Add test for iterable unpacking on module level
Currently doesn't work :O
1 parent 297a179 commit e4699e0

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# this test has code on module level, which works in slightly different ways than when
2+
# inside a function
3+
4+
t = (SOURCE, NONSOURCE)
5+
a, b = t
6+
SINK(a) #$ MISSING: flow="SOURCE, l:-2 -> a"
7+
SINK_F(b)

0 commit comments

Comments
 (0)