Merge pull request #2 from RasmusWL/python-tricky-import-ssa-filter-definition

Python: Add test for tricky module member for type-tracking
This commit is contained in:
Taus
2020-10-20 12:51:45 +02:00
committed by GitHub
3 changed files with 5 additions and 0 deletions

View File

@@ -2,3 +2,6 @@ x = tracked # $tracked
def func():
return tracked # $tracked
z = tracked # $tracked
some_func(z) # $tracked

View File

@@ -54,6 +54,7 @@ def test_import():
mymodule.x # $tracked
y = mymodule.func() # $tracked
y # $tracked
mymodule.z # $tracked
# ------------------------------------------------------------------------------

View File

@@ -0,0 +1 @@
| test.py:57:16:57:25 | Comment # $tracked | Missing result:tracked= |