Examples (and tests) for python namespace packages
This commit is contained in:
parent
23d2eb555f
commit
ba158e7919
12 changed files with 133 additions and 2 deletions
7
Examples/python/import_packages/namespace_pkg/normal.py
Normal file
7
Examples/python/import_packages/namespace_pkg/normal.py
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
import sys
|
||||
# Package brave found under one path
|
||||
sys.path.insert(0, 'path1')
|
||||
|
||||
from brave import robin
|
||||
|
||||
assert(robin.run() == "AWAY!")
|
||||
Loading…
Add table
Add a link
Reference in a new issue