summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan P Kilby <rpkilby@ncsu.edu>2018-01-10 14:34:45 -0500
committerAnthony Sottile <asottile@umich.edu>2018-01-10 11:34:45 -0800
commit0eeab6feb1c7d46d35f2c47d75d8a30714442aaa (patch)
treeb98c66ed4bb4c05e6cf05cc69fdabfca143a7f08
parenteeba300f2e27586a8459fe7ebfef6f0e311fadec (diff)
downloadtox-git-0eeab6feb1c7d46d35f2c47d75d8a30714442aaa.tar.gz
Prevent test failure due to Travis pyenv misconfiguration (#738)
* Test if python 3.6 is broken on Travis * Improve test against Travis pyenv misconfigation
-rw-r--r--tests/test_venv.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_venv.py b/tests/test_venv.py
index c2ca3e46..073c96c3 100644
--- a/tests/test_venv.py
+++ b/tests/test_venv.py
@@ -385,11 +385,11 @@ def test_install_command_not_installed_bash(newmocksession):
def test_install_python3(tmpdir, newmocksession):
- if not py.path.local.sysfind('python3.5'):
- pytest.skip("needs python3.5")
+ if not py.path.local.sysfind('python3'):
+ pytest.skip("needs python3")
mocksession = newmocksession([], """
[testenv:py123]
- basepython=python3.5
+ basepython=python3
deps=
dep1
dep2