Skip to content

Commit 0eeab6f

Browse files
Ryan P Kilbyasottile
Ryan P Kilby
authored andcommitted
Prevent test failure due to Travis pyenv misconfiguration (#738)
* Test if python 3.6 is broken on Travis * Improve test against Travis pyenv misconfigation
1 parent eeba300 commit 0eeab6f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/test_venv.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -385,11 +385,11 @@ def test_install_command_not_installed_bash(newmocksession):
385385

386386

387387
def test_install_python3(tmpdir, newmocksession):
388-
if not py.path.local.sysfind('python3.5'):
389-
pytest.skip("needs python3.5")
388+
if not py.path.local.sysfind('python3'):
389+
pytest.skip("needs python3")
390390
mocksession = newmocksession([], """
391391
[testenv:py123]
392-
basepython=python3.5
392+
basepython=python3
393393
deps=
394394
dep1
395395
dep2

0 commit comments

Comments
 (0)