mirror of
https://github.com/github/codeql.git
synced 2025-12-21 03:06:31 +01:00
Python: Fix validTest expectations
Co-authored-by: yoff <lerchedahl@gmail.com>
This commit is contained in:
committed by
GitHub
parent
d99a763ef7
commit
16cb6c2044
@@ -46,7 +46,6 @@ def test_dict_update():
|
|||||||
SINK(d.get("key")) # $ flow="SOURCE, l:-2 -> d.get(..)"
|
SINK(d.get("key")) # $ flow="SOURCE, l:-2 -> d.get(..)"
|
||||||
|
|
||||||
|
|
||||||
@expects(2) # $ unresolved_call=expects(..) unresolved_call=expects(..)(..)
|
|
||||||
def test_dict_update_fresh_key():
|
def test_dict_update_fresh_key():
|
||||||
# we had a regression where we did not create a dictionary element content
|
# we had a regression where we did not create a dictionary element content
|
||||||
# for keys used in "inline update" like this
|
# for keys used in "inline update" like this
|
||||||
|
|||||||
Reference in New Issue
Block a user