mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-07 14:34:31 +08:00
removed a lot of the goto usages, used goto_assignments instead. Did the same also for a lot of definition uses
This commit is contained in:
@@ -336,7 +336,8 @@ class TestRegression(TestBase):
|
||||
assert [d.doc for d in defs]
|
||||
|
||||
def test_goto_following_on_imports(self):
|
||||
g = self.goto("import multiprocessing.dummy; multiprocessing.dummy")
|
||||
s = "import multiprocessing.dummy; multiprocessing.dummy"
|
||||
g = self.goto_assignments(s)
|
||||
assert len(g) == 1
|
||||
assert g[0].start_pos != (0, 0)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user