python: fix tests

This commit is contained in:
Rasmus Lerchedahl Petersen
2023-05-12 13:51:50 +02:00
parent 3adaa21571
commit 1b848bb510
2 changed files with 13 additions and 9 deletions

View File

@@ -230,7 +230,7 @@ def test_dict_get():
v = d.get("k")
SINK(v) #$ flow="SOURCE, l:-2 -> v"
v1 = d.get("non-existing", SOURCE)
SINK(v1) #$ flow="SOURCE, l:-1 -> v1"
SINK(v1) #$ MISSING: flow="SOURCE, l:-1 -> v1"
@expects(2)
def test_dict_popitem():