File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed
python/ql/test/experimental/dataflow/fieldflow Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ def test_dict_update():
4646 SINK (d .get ("key" )) # $ flow="SOURCE, l:-2 -> d.get(..)"
4747
4848@expects (3 ) # $ unresolved_call=expects(..) unresolved_call=expects(..)(..)
49- def test_setdefault ():
49+ def test_dict_setdefault ():
5050 d = {}
5151 x = d .setdefault ("key" , SOURCE )
5252 SINK (x ) # $ flow="SOURCE, l:-1 -> x"
@@ -62,13 +62,6 @@ def test_dict_override():
6262 d ["key" ] = NONSOURCE
6363 SINK_F (d ["key" ])
6464
65-
66- def test_dict_setdefault ():
67- d = {}
68- d .setdefault ("key" , SOURCE )
69- SINK (d ["key" ]) # $ flow="SOURCE, l:-1 -> d['key']"
70-
71-
7265@expects (3 ) # $ unresolved_call=expects(..) unresolved_call=expects(..)(..)
7366def test_dict_nonstring_key ():
7467 d = {}
You can’t perform that action at this time.
0 commit comments