1
0
forked from VimPlug/jedi

Move namespace tests to examples

This commit is contained in:
Dave Halter
2020-01-12 00:51:27 +01:00
parent f3919823fb
commit 796a2b4df5
11 changed files with 6 additions and 6 deletions

View File

@@ -0,0 +1,9 @@
foo = 'ns1!'
# this is a namespace package
try:
import pkg_resources
pkg_resources.declare_namespace(__name__)
except ImportError:
import pkgutil
__path__ = pkgutil.extend_path(__path__, __name__)

View File

@@ -0,0 +1 @@
foo = 'ns1_file!'

View File

@@ -0,0 +1 @@
foo = 'ns1_folder!'