1
0
forked from VimPlug/jedi

Fix tests in Python 2

This commit is contained in:
Dave Halter
2020-05-16 17:47:33 +02:00
parent cd3d40a3b8
commit d16355fcf2
2 changed files with 3 additions and 1 deletions

View File

@@ -4,7 +4,7 @@ import pytest
@pytest.mark.skipif(sys.version_info[0] == 2, reason="Ignore Python 2, because EOL")
def test_issue436(Script):
def test_issue436(Script, skip_python2):
code = "bar = 0\nbar += 'foo' + 4"
errors = set(repr(e) for e in Script(code)._analysis())
assert len(errors) == 2