forked from Mirror/pmbootstrap
tests import path: put shipped pmb code first
Always test the pmb code from the parent folder of the tests, even if a stable version of pmbootstrap is installed with pip or pysetup.
This commit is contained in:
parent
56d813421f
commit
424ad3f078
27 changed files with 27 additions and 27 deletions
|
@ -20,7 +20,7 @@ import os
|
|||
import sys
|
||||
|
||||
# Import from parent directory
|
||||
sys.path.append(os.path.realpath(
|
||||
sys.path.insert(0, os.path.realpath(
|
||||
os.path.join(os.path.dirname(__file__) + "/..")))
|
||||
import pmb.parse.version
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue