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

Skip to content

Commit d8d8b45

Browse files
committed
Python: add test annotations
1 parent a1ab5cc commit d8d8b45

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

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

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -556,25 +556,25 @@ def test_unpacking_assignment_conversion():
556556

557557
# tuple
558558
((a1, a2, a3), b, c) = ll
559-
SINK(a1)
559+
SINK(a1) # Flow not found
560560
SINK_F(a2) # We expect an FP as all elements are tainted
561-
SINK(a3)
561+
SINK(a3) # Flow not found
562562
SINK_F(b) # The list itself is not tainted
563563
SINK_F(c)
564564

565565
# mixed
566566
[(a1, a2, a3), b, c] = ll
567-
SINK(a1)
567+
SINK(a1) # Flow not found
568568
SINK_F(a2) # We expect an FP as all elements are tainted
569-
SINK(a3)
569+
SINK(a3) # Flow not found
570570
SINK_F(b) # The list itself is not tainted
571571
SINK_F(c)
572572

573573
# mixed differently
574574
([a1, a2, a3], b, c) = ll
575-
SINK(a1)
575+
SINK(a1) # Flow not found
576576
SINK_F(a2) # We expect an FP as all elements are tainted
577-
SINK(a3)
577+
SINK(a3) # Flow not found
578578
SINK_F(b) # The list itself is not tainted
579579
SINK_F(c)
580580

0 commit comments

Comments
 (0)