summaryrefslogtreecommitdiff
path: root/astroid/tests/testdata/python3/data/path_pkgutil_2/package/__init__.py
diff options
context:
space:
mode:
authorClaudiu Popa <pcmanticore@gmail.com>2016-05-07 16:13:33 +0300
committerClaudiu Popa <pcmanticore@gmail.com>2016-05-09 17:38:41 +0300
commit197fca8656e0a970066aea54072bc5dfc553adf4 (patch)
treee23758fc4e747d7823755568fbdd54ebc159272a /astroid/tests/testdata/python3/data/path_pkgutil_2/package/__init__.py
parent62bd3729ad95c7cd7b78b1e9c7bd1ac0f7ae9906 (diff)
downloadastroid-git-197fca8656e0a970066aea54072bc5dfc553adf4.tar.gz
Add test for old namespace packages protocol.
Diffstat (limited to 'astroid/tests/testdata/python3/data/path_pkgutil_2/package/__init__.py')
-rw-r--r--astroid/tests/testdata/python3/data/path_pkgutil_2/package/__init__.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/astroid/tests/testdata/python3/data/path_pkgutil_2/package/__init__.py b/astroid/tests/testdata/python3/data/path_pkgutil_2/package/__init__.py
new file mode 100644
index 00000000..0bfb5a62
--- /dev/null
+++ b/astroid/tests/testdata/python3/data/path_pkgutil_2/package/__init__.py
@@ -0,0 +1,2 @@
+from pkgutil import extend_path
+__path__ = extend_path(__path__, __name__) \ No newline at end of file