Skip a test that doesn't work in Python 2

This commit is contained in:
Dave Halter
2020-01-10 10:30:53 +01:00
parent 10c5990614
commit 76a4820926

View File

@@ -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()