1
0
forked from VimPlug/jedi

Fix some version issue stuff

This commit is contained in:
Dave Halter
2020-03-01 01:42:22 +01:00
parent fd23946de3
commit e5fabb4c5f
2 changed files with 4 additions and 2 deletions

View File

@@ -118,7 +118,8 @@ def test_create_environment_executable():
assert environment.executable == sys.executable
def test_get_default_environment_from_env_does_not_use_safe(tmpdir, monkeypatch, skip_python2):
@pytest.mark.skipif(sys.version_info[0] == 2, reason="Ignore Python 2, because EOL")
def test_get_default_environment_from_env_does_not_use_safe(tmpdir, monkeypatch):
fake_python = os.path.join(str(tmpdir), 'fake_python')
with open(fake_python, 'w', newline='') as f:
f.write('')