Skip to content

Commit dad6221

Browse files
committed
Python: Accept dataflow-consistency.expected changes for now
As highlighted in the configuration file, there are some things to catch up on, and we also need to apply the same fix as Ruby for **kwargs handling.
1 parent 749e813 commit dad6221

File tree

5 files changed

+21
-0
lines changed

5 files changed

+21
-0
lines changed

python/ql/test/experimental/dataflow/callgraph_crosstalk/dataflow-consistency.expected

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,6 @@ reverseRead
1919
argHasPostUpdate
2020
postWithInFlow
2121
viableImplInCallContextTooLarge
22+
uniqueParameterNodeAtPosition
23+
uniqueParameterNodePosition
24+
uniqueContentApprox

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,7 @@ argHasPostUpdate
2020
postWithInFlow
2121
viableImplInCallContextTooLarge
2222
uniqueParameterNodeAtPosition
23+
| test.py:239:1:239:42 | Function overflowCallee | ** | test.py:239:1:239:42 | SynthDictSplatParameterNode | Parameters with overlapping positions. |
24+
| test.py:239:1:239:42 | Function overflowCallee | ** | test.py:239:35:239:40 | ControlFlowNode for kwargs | Parameters with overlapping positions. |
2325
uniqueParameterNodePosition
2426
uniqueContentApprox

python/ql/test/experimental/dataflow/coverage/dataflow-consistency.expected

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,15 @@ argHasPostUpdate
2020
postWithInFlow
2121
viableImplInCallContextTooLarge
2222
uniqueParameterNodeAtPosition
23+
| argumentPassing.py:50:1:60:2 | Function argument_passing | ** | argumentPassing.py:50:1:60:2 | SynthDictSplatParameterNode | Parameters with overlapping positions. |
24+
| argumentPassing.py:50:1:60:2 | Function argument_passing | ** | argumentPassing.py:59:7:59:7 | ControlFlowNode for g | Parameters with overlapping positions. |
25+
| argumentPassing.py:185:1:185:23 | Function mixed | ** | argumentPassing.py:185:1:185:23 | SynthDictSplatParameterNode | Parameters with overlapping positions. |
26+
| argumentPassing.py:185:1:185:23 | Function mixed | ** | argumentPassing.py:185:16:185:21 | ControlFlowNode for kwargs | Parameters with overlapping positions. |
27+
| classes.py:441:5:441:41 | Function __prepare__ | ** | classes.py:441:5:441:41 | SynthDictSplatParameterNode | Parameters with overlapping positions. |
28+
| classes.py:441:5:441:41 | Function __prepare__ | ** | classes.py:441:36:441:39 | ControlFlowNode for kwds | Parameters with overlapping positions. |
29+
| test.py:407:1:407:28 | Function f_extra_keyword | ** | test.py:407:1:407:28 | SynthDictSplatParameterNode | Parameters with overlapping positions. |
30+
| test.py:407:1:407:28 | Function f_extra_keyword | ** | test.py:407:26:407:26 | ControlFlowNode for b | Parameters with overlapping positions. |
31+
| test.py:521:23:521:43 | Function lambda | ** | test.py:521:23:521:43 | SynthDictSplatParameterNode | Parameters with overlapping positions. |
32+
| test.py:521:23:521:43 | Function lambda | ** | test.py:521:35:521:35 | ControlFlowNode for b | Parameters with overlapping positions. |
2333
uniqueParameterNodePosition
2434
uniqueContentApprox

python/ql/test/experimental/dataflow/tainttracking/generator-flow/dataflow-consistency.expected

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,6 @@ reverseRead
1919
argHasPostUpdate
2020
postWithInFlow
2121
viableImplInCallContextTooLarge
22+
uniqueParameterNodeAtPosition
23+
uniqueParameterNodePosition
24+
uniqueContentApprox

python/ql/test/experimental/library-tests/CallGraph/dataflow-consistency.expected

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,6 @@ reverseRead
1919
argHasPostUpdate
2020
postWithInFlow
2121
viableImplInCallContextTooLarge
22+
uniqueParameterNodeAtPosition
23+
uniqueParameterNodePosition
24+
uniqueContentApprox

0 commit comments

Comments
 (0)