We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b709ed4 commit 2b7fc94Copy full SHA for 2b7fc94
python/ql/test/experimental/dataflow/coverage/test_builtins.py
@@ -57,7 +57,7 @@ def test_list_from_set():
57
s = {SOURCE}
58
l = list(s)
59
SINK(l[0]) #$ flow="SOURCE, l:-2 -> l[0]"
60
-
+
61
@expects(2)
62
def test_list_from_dict():
63
d = {SOURCE: 'v', NONSOURCE: 'v2'}
@@ -224,7 +224,7 @@ def test_dict_pop():
224
v2 = d.pop("non-existing", SOURCE)
225
SINK(v2) #$ flow="SOURCE, l:-1 -> v2"
226
227
-@expects(2)
+@expects(3)
228
def test_dict_get():
229
d = {'k': SOURCE}
230
v = d.get("k")
@@ -357,4 +357,4 @@ def test_next_dict():
357
d = {SOURCE: "val"}
358
i = iter(d)
359
n = next(i)
360
- SINK(n) #$ MISSING: flow="SOURCE, l:-3 -> n"
+ SINK(n) #$ MISSING: flow="SOURCE, l:-3 -> n"
0 commit comments