From bb104fc42418e254edc30f33a6e0cb2980becc4e Mon Sep 17 00:00:00 2001 From: Rasmus Wriedt Larsen Date: Tue, 22 Nov 2022 14:43:04 +0100 Subject: [PATCH] Python: Accept fix from module-resolution PR --- .../CallGraph-imports/InlineCallGraphTest.expected | 1 - .../experimental/library-tests/CallGraph-imports/pkg/use.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/python/ql/test/experimental/library-tests/CallGraph-imports/InlineCallGraphTest.expected b/python/ql/test/experimental/library-tests/CallGraph-imports/InlineCallGraphTest.expected index 7bba932e8f4cc..d5ed453c51a3e 100644 --- a/python/ql/test/experimental/library-tests/CallGraph-imports/InlineCallGraphTest.expected +++ b/python/ql/test/experimental/library-tests/CallGraph-imports/InlineCallGraphTest.expected @@ -1,5 +1,4 @@ failures debug_callableNotUnique pointsTo_found_typeTracker_notFound -| pkg/use.py:10:5:10:10 | ControlFlowNode for func() | "pkg/func_def.py:func" | typeTracker_found_pointsTo_notFound diff --git a/python/ql/test/experimental/library-tests/CallGraph-imports/pkg/use.py b/python/ql/test/experimental/library-tests/CallGraph-imports/pkg/use.py index 861359b5d91d6..fd1d957ba8162 100644 --- a/python/ql/test/experimental/library-tests/CallGraph-imports/pkg/use.py +++ b/python/ql/test/experimental/library-tests/CallGraph-imports/pkg/use.py @@ -7,7 +7,7 @@ def test_direct_import(): def test_alias_problem(): from .alias_problem import func - func() # $ pt="pkg/func_def.py:func" MISSING: tt="pkg/func_def.py:func" + func() # $ pt,tt="pkg/func_def.py:func" test_alias_problem() # $ pt,tt=test_alias_problem