Skip to content

Commit e49f7a5

Browse files
yoffRasmusWL
andauthored
Update python/ql/test/experimental/dataflow/variable-capture/by_value.py
Co-authored-by: Rasmus Wriedt Larsen <[email protected]>
1 parent c89b579 commit e49f7a5

File tree

1 file changed

+1
-3
lines changed
  • python/ql/test/experimental/dataflow/variable-capture

1 file changed

+1
-3
lines changed

python/ql/test/experimental/dataflow/variable-capture/by_value.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
# Here we test writing to a captured variable via the `nonlocal` keyword (see `out`).
2-
# We also test reading one captured variable and writing the value to another (see `through`).
3-
1+
# Here we test capturing the _value_ of a variable (by using it as the default value for a parameter)
42
# All functions starting with "test_" should run and execute `print("OK")` exactly once.
53
# This can be checked by running validTest.py.
64

0 commit comments

Comments
 (0)