Skip to content

Commit c67b06b

Browse files
yofftausbn
andauthored
Update python/ql/test/experimental/dataflow/typetracking/attribute_tests.py
Co-authored-by: Taus <tausbn@github.com>
1 parent b4a31e5 commit c67b06b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

python/ql/test/experimental/dataflow/typetracking/attribute_tests.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ def test_global_attribute_read():
5858

5959
def test_local_attribute_assignment():
6060
# Same as `test_global_attribute_assignment`, but the assigned variable is not global
61+
# In this case, we don't want flow going to the `ModuleVariableNode` for `local_var`
62+
# (which is referenced in `test_local_attribute_read`).
6163
local_var = object() # $ tracked=foo
6264
local_var.foo = tracked # $ tracked tracked=foo
6365

0 commit comments

Comments
 (0)