Skip to content

Commit d198b91

Browse files
committed
Python: Fix expected of call-graph after merge
Since the import resolution was fixed, but tests not rerun, these expectations were not updated to reflect that we now handle them properly 💪
1 parent 927c322 commit d198b91

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

python/ql/test/experimental/library-tests/CallGraph/InlineCallGraphTest.expected

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ pointsTo_found_typeTracker_notFound
1515
| code/func_defined_outside_class.py:42:1:42:7 | ControlFlowNode for Attribute() | B._gen.func |
1616
| code/func_defined_outside_class.py:43:1:43:7 | ControlFlowNode for Attribute() | B._gen.func |
1717
| code/funky_regression.py:15:9:15:17 | ControlFlowNode for Attribute() | Wat.f2 |
18-
| code/runtime_decision.py:44:1:44:7 | ControlFlowNode for func4() | "code/runtime_decision_defns.py:4:func4" |
19-
| code/runtime_decision.py:44:1:44:7 | ControlFlowNode for func4() | "code/runtime_decision_defns.py:7:func4" |
2018
| code/tuple_function_return.py:15:1:15:4 | ControlFlowNode for f2() | func |
2119
| code/type_tracking_limitation.py:8:1:8:3 | ControlFlowNode for x() | my_func |
2220
typeTracker_found_pointsTo_notFound

python/ql/test/experimental/library-tests/CallGraph/code/runtime_decision.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ def func3():
4141

4242
# func4 uses same setup as func3, it's just defined in an other file
4343
from code.runtime_decision_defns import func4
44-
func4() # $ pt="code/runtime_decision_defns.py:4:func4" pt="code/runtime_decision_defns.py:7:func4" MISSING: tt
44+
func4() # $ pt,tt="code/runtime_decision_defns.py:4:func4" pt,tt="code/runtime_decision_defns.py:7:func4"

0 commit comments

Comments
 (0)