Remove a statement that didn't make sense

This commit is contained in:
Dave Halter committed 2020-01-07 22:20:36 +01:00
1 parent a0536bd854
commit 10c5990614
2 files changed
+9 -1

No files matched your search

@@ -54,3 +54,11 @@ def test_goto_on_file(Script):
script = Script(path=d1.module_path, _project=project)
d2, = script.goto(line=d1.line, column=d1.column + 4)
assert d2.name == 'Bar'
def test_goto_import(Script):
code = 'from abc import ABC; ABC'
d, = Script(code).goto(only_stubs=True)
assert d.is_stub()
d, = Script(code).goto()
assert not d.is_stub()