File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
python/ql/test/experimental/dataflow/coverage Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -1041,7 +1041,9 @@ def test_index():
1041
1041
with_index = With_index ()
1042
1042
operator .index (with_index )
1043
1043
1044
- # make With_index subscriptable to test slicing
1044
+ def test_index_slicing ():
1045
+ with_index = With_index ()
1046
+ [0 ][with_index :1 ]
1045
1047
1046
1048
def test_index_bin ():
1047
1049
with_index = With_index ()
Original file line number Diff line number Diff line change 6
6
sink .getLocation ( ) .getFile ( ) .getBaseName ( ) = "classes.py" and
7
7
exists ( CallGraphConfig cfg | cfg .hasFlow ( source , sink ) )
8
8
select source , sink
9
- // Rewrite this to just have 1-step paths?
9
+ // Ideally, we would just have 1-step paths either from argument to parameter
10
+ // or from return to call. This gives a bit more, so should be rewritten.
You can’t perform that action at this time.
0 commit comments