We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8d49ad7 commit 9556937Copy full SHA for 9556937
2 files changed
python/ql/test/experimental/dataflow/coverage/classes.py
@@ -1041,7 +1041,9 @@ def test_index():
1041
with_index = With_index()
1042
operator.index(with_index)
1043
1044
-# make With_index subscriptable to test slicing
+def test_index_slicing():
1045
+ with_index = With_index()
1046
+ [0][with_index:1]
1047
1048
def test_index_bin():
1049
python/ql/test/experimental/dataflow/coverage/classesCallGraph.ql
@@ -6,4 +6,5 @@ where
6
sink.getLocation().getFile().getBaseName() = "classes.py" and
7
exists(CallGraphConfig cfg | cfg.hasFlow(source, sink))
8
select source, sink
9
-// Rewrite this to just have 1-step paths?
+// 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.
0 commit comments