Python: Fix missing global variable source nodes

In lieu of removing the offending flow (which would likely have
consequences for a lot of other tests), I opted to simply _include_
the relevant nodes directly.
This commit is contained in:
Taus Brock-Nannestad
2021-02-04 18:07:13 +01:00
parent 2524f23a46
commit f6e1ea5b2a
2 changed files with 3 additions and 1 deletions

View File

@@ -72,7 +72,7 @@ def f():
sink(foo) #$ use=moduleImport("danger").getMember("SOURCE")
foo = NONSOURCE
change_foo()
sink(foo) #$ MISSING: use=moduleImport("danger").getMember("SOURCE")
sink(foo) #$ use=moduleImport("danger").getMember("SOURCE")
# Star imports