Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6dc0d69

Browse files
committed
Python: Final(?!) fix of annotations
1 parent e3199fb commit 6dc0d69

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • python/ql/test/experimental/dataflow/coverage

python/ql/test/experimental/dataflow/coverage/test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -597,7 +597,7 @@ def test_iterated_unpacking_assignment_conversion():
597597
SINK(a1)
598598
SINK_F(a2) # The list itself is not tainted
599599
SINK_F(a2[0])
600-
SINK(a2[1]) # Flow not found
600+
SINK(a2[1]) # Flow not found since `*a2` does not know to read from index 2
601601
SINK_F(b) # The list itself is not tainted
602602
SINK_F(b[0])
603603

@@ -606,7 +606,7 @@ def test_iterated_unpacking_assignment_conversion():
606606
SINK(a1)
607607
SINK_F(a2) # The list itself is not tainted
608608
SINK_F(a2[0])
609-
SINK(a2[1]) # Flow not found
609+
SINK(a2[1]) # Flow not found since `*a2` does not know to read from index 2
610610
SINK_F(b) # The list itself is not tainted
611611
SINK_F(b[0]) # Expected FP here due to list abstraction
612612

0 commit comments

Comments
 (0)