python: add test to validation (and fix it)

This commit is contained in:
Rasmus Lerchedahl Petersen
2023-03-20 15:07:46 +01:00
parent 17c9ba9872
commit 6a5db750c4
2 changed files with 2 additions and 1 deletions

View File

@@ -31,7 +31,7 @@ def SINK_F(x):
print("OK")
l = [NONSOURCE]
SINK_F(l_mod[0])
SINK_F(l[0])
l_mod = [SOURCE for x in l]
SINK(l_mod[0]) #$ captured