Skip to content

Commit 92718a9

Browse files
committed
Python: Add test for package inside namespace package
1 parent e707275 commit 92718a9

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
def process(value):
22
sink(value) #$ flow=source
3+
4+
def process2(value):
5+
sink(value) #$ flow=source

python/ql/test/experimental/import-resolution-namespace-relative/pkg/sub/__init__.py

Whitespace-only changes.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
from .. import helper
2+
3+
def use_multi_level_relative():
4+
tainted = source()
5+
helper.process2(tainted)

0 commit comments

Comments
 (0)