From 6f7cd146726391c5fe37d2e64ea57469319f455a Mon Sep 17 00:00:00 2001 From: Terry Howe Date: Tue, 23 Dec 2014 05:09:42 -0700 Subject: [PATCH] Reverse order of tests to avoid incompatibility If py26 tests are run first, there is a incompatibility in the .testrepository that breaks several tests. To get around this, you need to run the py33 tests first. This change was made over in the cliff project. Before: (.venv)terry@brat:~/hp/ncli$ rm -rf .testrepository/ (.venv)terry@brat:~/hp/ncli$ tox ... py26: commands succeeded py27: commands succeeded ERROR: py33: commands failed ERROR: py34: commands failed ERROR: pypy: commands failed pep8: commands succeeded After: (.venv)terry@brat:~/hp/ncli$ rm -rf .testrepository/ (.venv)terry@brat:~/hp/ncli$ tox ... py33: commands succeeded py34: commands succeeded py26: commands succeeded py27: commands succeeded pypy: commands succeeded pep8: commands succeeded congratulations :) (.venv)terry@brat:~/hp/ncli$ Closes-Bug: 1415446 Change-Id: Ia0b44cc4a05dd1c668204d8d4dce5381d35373fe --- tox.ini | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 833f7b0..4187fb8 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,6 @@ [tox] -envlist = py26,py27,py33,py34,pypy,pep8 +# py3 first to avoid .testrepository incompatibility +envlist = py33,py34,py26,py27,pypy,pep8 minversion = 1.6 skipsdist = True