1
0
forked from VimPlug/jedi

move some tests into specific directories

This commit is contained in:
Dave Halter
2014-01-29 20:43:42 +01:00
parent 36de8c427f
commit 78114b12e9
16 changed files with 11 additions and 9 deletions

View File

@@ -2,6 +2,7 @@ import jedi
import sys
from os.path import dirname, join
def test_namespace_package():
sys.path.insert(0, join(dirname(__file__), 'namespace_package/ns1'))
sys.path.insert(1, join(dirname(__file__), 'namespace_package/ns2'))
@@ -47,7 +48,6 @@ def test_namespace_package():
solution = "statement: foo = '%s'" % solution
assert completion.description == solution
finally:
sys.path.pop(0)
sys.path.pop(0)