reduced support for None paths in path search, because the path should be set normally. -> fixes #75

This commit is contained in:
David Halter
2012-12-09 22:55:49 +01:00
parent 655f05f34f
commit 92b5c70ea0
2 changed files with 9 additions and 2 deletions

View File

@@ -271,11 +271,15 @@ class TestRegression(Base):
assert [d.doc for d in defs]
def test_goto_following_on_imports(self):
g = self.goto("import multiprocessing.dummy; multiprocessing.dummy")
assert len(g) == 1
if not is_py25:
g = self.goto("import multiprocessing.dummy; multiprocessing.dummy")
assert len(g) == 1
assert g[0].start_pos != (0, 0)
script = api.Script("import json", 1, len("import js"), None)
completions = script.complete()
completions
class TestFeature(Base):
def test_full_name(self):