Skip to content

Commit 824d4d5

Browse files
committed
python: fix test expectations
also rename `collections.py` so it does not clash with the standard library name. This clash is an issue when testing locally.
1 parent 0338d4e commit 824d4d5

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
| test_collections.py:55:6:55:16 | ControlFlowNode for Subscript | Fixed missing result:captured= |

python/ql/test/experimental/dataflow/variable-capture/dataflow-consistency.expected

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
uniqueEnclosingCallable
22
uniqueCallEnclosingCallable
3-
| collections.py:39:17:39:38 | Lambda() | Call should have one enclosing callable but has 0. |
4-
| collections.py:39:17:39:38 | Lambda() | Call should have one enclosing callable but has 0. |
5-
| collections.py:45:19:45:24 | mod() | Call should have one enclosing callable but has 0. |
6-
| collections.py:45:19:45:24 | mod() | Call should have one enclosing callable but has 0. |
7-
| collections.py:52:13:52:24 | mod_local() | Call should have one enclosing callable but has 0. |
3+
| test_collections.py:39:17:39:38 | Lambda() | Call should have one enclosing callable but has 0. |
4+
| test_collections.py:39:17:39:38 | Lambda() | Call should have one enclosing callable but has 0. |
5+
| test_collections.py:45:19:45:24 | mod() | Call should have one enclosing callable but has 0. |
6+
| test_collections.py:45:19:45:24 | mod() | Call should have one enclosing callable but has 0. |
7+
| test_collections.py:52:13:52:24 | mod_local() | Call should have one enclosing callable but has 0. |
8+
| test_collections.py:52:13:52:24 | mod_local() | Call should have one enclosing callable but has 0. |
89
uniqueType
910
uniqueNodeLocation
1011
missingLocation

0 commit comments

Comments
 (0)