mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-06 22:14:27 +08:00
Skip a test that doesn't work in Python 2
This commit is contained in:
@@ -56,7 +56,7 @@ def test_goto_on_file(Script):
|
||||
assert d2.name == 'Bar'
|
||||
|
||||
|
||||
def test_goto_import(Script):
|
||||
def test_goto_import(Script, skip_pre_python35):
|
||||
code = 'from abc import ABC; ABC'
|
||||
d, = Script(code).goto(only_stubs=True)
|
||||
assert d.is_stub()
|
||||
|
||||
Reference in New Issue
Block a user