Skip to content

Commit b3b87c9

Browse files
committed
Python: Fix extractor/experimental tests
1 parent 665104e commit b3b87c9

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import python
22
import utils.test.InlineExpectationsTest
33
private import semmle.python.dataflow.new.internal.DataFlowDispatch as TT
4+
private import LegacyPointsTo
45

56
/** Holds when `call` is resolved to `callable` using points-to based call-graph. */
67
predicate pointsToCallEdge(CallNode call, Function callable) {

python/ql/test/extractor-tests/double-import/ModuleNames.ql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import python
2+
private import LegacyPointsTo
23

34
from Container path, string name
45
where exists(ModuleValue m | m.getPath() = path and m.getName() = name)

python/ql/test/extractor-tests/unicode_decoding/test.ql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import python
2+
private import LegacyPointsTo
23

34
from Object o, string s
45
where

0 commit comments

Comments
 (0)