summaryrefslogtreecommitdiff
path: root/test/fixture/python_scanner/nested1/nested2
diff options
context:
space:
mode:
authorAdam Gross <grossag@vmware.com>2019-10-24 14:12:40 -0400
committerAdam Gross <grossag@vmware.com>2019-10-24 14:12:40 -0400
commit5f3064a00556705cc5eebacab159091da29255b3 (patch)
treef4dfec99f74ff885937726866813f91c805ae3b1 /test/fixture/python_scanner/nested1/nested2
parentcdd4d0cc8f7c69b275860baa01293544c3bde40d (diff)
downloadscons-git-5f3064a00556705cc5eebacab159091da29255b3.tar.gz
Convert PythonTests to use directory fixture
Diffstat (limited to 'test/fixture/python_scanner/nested1/nested2')
-rw-r--r--test/fixture/python_scanner/nested1/nested2/__init__.py0
-rw-r--r--test/fixture/python_scanner/nested1/nested2/module.py0
-rw-r--r--test/fixture/python_scanner/nested1/nested2/nested3/__init__.py0
-rw-r--r--test/fixture/python_scanner/nested1/nested2/nested3/imports_grandparent_module.py1
-rw-r--r--test/fixture/python_scanner/nested1/nested2/nested3/imports_parent_module.py1
-rw-r--r--test/fixture/python_scanner/nested1/nested2/nested3/imports_parent_then_submodule.py1
-rw-r--r--test/fixture/python_scanner/nested1/nested2/nested3/module.py0
7 files changed, 3 insertions, 0 deletions
diff --git a/test/fixture/python_scanner/nested1/nested2/__init__.py b/test/fixture/python_scanner/nested1/nested2/__init__.py
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/test/fixture/python_scanner/nested1/nested2/__init__.py
diff --git a/test/fixture/python_scanner/nested1/nested2/module.py b/test/fixture/python_scanner/nested1/nested2/module.py
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/test/fixture/python_scanner/nested1/nested2/module.py
diff --git a/test/fixture/python_scanner/nested1/nested2/nested3/__init__.py b/test/fixture/python_scanner/nested1/nested2/nested3/__init__.py
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/test/fixture/python_scanner/nested1/nested2/nested3/__init__.py
diff --git a/test/fixture/python_scanner/nested1/nested2/nested3/imports_grandparent_module.py b/test/fixture/python_scanner/nested1/nested2/nested3/imports_grandparent_module.py
new file mode 100644
index 000000000..06bb7f5d5
--- /dev/null
+++ b/test/fixture/python_scanner/nested1/nested2/nested3/imports_grandparent_module.py
@@ -0,0 +1 @@
+from ... import module
diff --git a/test/fixture/python_scanner/nested1/nested2/nested3/imports_parent_module.py b/test/fixture/python_scanner/nested1/nested2/nested3/imports_parent_module.py
new file mode 100644
index 000000000..be10279a3
--- /dev/null
+++ b/test/fixture/python_scanner/nested1/nested2/nested3/imports_parent_module.py
@@ -0,0 +1 @@
+from .. import module
diff --git a/test/fixture/python_scanner/nested1/nested2/nested3/imports_parent_then_submodule.py b/test/fixture/python_scanner/nested1/nested2/nested3/imports_parent_then_submodule.py
new file mode 100644
index 000000000..39f1a1a54
--- /dev/null
+++ b/test/fixture/python_scanner/nested1/nested2/nested3/imports_parent_then_submodule.py
@@ -0,0 +1 @@
+from ...nested2a import module
diff --git a/test/fixture/python_scanner/nested1/nested2/nested3/module.py b/test/fixture/python_scanner/nested1/nested2/nested3/module.py
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/test/fixture/python_scanner/nested1/nested2/nested3/module.py