1
0
forked from VimPlug/jedi

Add AppVeyor configuration

This commit is contained in:
micbou
2018-03-23 05:13:04 +01:00
committed by Dave Halter
parent 65a8ec6abc
commit e8b301ebf9
6 changed files with 111 additions and 66 deletions

View File

@@ -24,22 +24,10 @@ def test_find_python_environments():
assert parser_version[:2] == env.version_info[:2]
@pytest.mark.parametrize(
'version',
['2.7', '3.3', '3.4', '3.5', '3.6', '3.7']
)
def test_versions(version):
executable = 'python' + version
try:
env = Environment('some path', executable)
except InvalidPythonEnvironment:
if int(version.replace('.', '')) == py_version:
# At least the current version has to work
raise
return
def test_version():
env = Environment('some path', sys.executable)
sys_path = env.get_sys_path()
assert any(executable in p for p in sys_path)
assert any(sys.prefix in p for p in sys_path)
def test_load_module(evaluator):