mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-11 00:01:54 +08:00
added regression test for #77
This commit is contained in:
@@ -270,6 +270,12 @@ class TestRegression(Base):
|
|||||||
assert len(defs) == 1
|
assert len(defs) == 1
|
||||||
assert [d.doc for d in defs]
|
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:
|
||||||
|
assert g[0].start_pos != (0, 0)
|
||||||
|
|
||||||
|
|
||||||
class TestFeature(Base):
|
class TestFeature(Base):
|
||||||
def test_full_name(self):
|
def test_full_name(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user