[PATCH] Revert "tox: Cleanup '.pyc' files before run"

Stephen Finucane stephen.finucane at intel.com
Sat Mar 12 06:28:46 AEDT 2016


This reverts commit 8e58c29f23b9cc072c003268d641f00084ce3b3b.

The benefits added by this change did not outweigh the cost it
introduces in test run time.

Signed-off-by: Stephen Finucane <stephen.finucane at intel.com>
---
 tox.ini | 2 --
 1 file changed, 2 deletions(-)

diff --git a/tox.ini b/tox.ini
index 33b8ee1..d170325 100644
--- a/tox.ini
+++ b/tox.ini
@@ -4,7 +4,6 @@ envlist = py{27,34}-django{16,17,18,19}
 skipsdist = True
 
 [testenv]
-whitelist_externals = find
 deps =
     -r{toxinidir}/requirements-test.txt
     django16: django>=1.6,<1.7
@@ -18,7 +17,6 @@ passenv =
     PW_TEST_DB_TYPE PW_TEST_DB_USER PW_TEST_DB_PASS
     DISPLAY SELENIUM_BROWSER PW_SKIP_BROWSER_TESTS
 commands =
-    find . -type f -name "*.pyc" -delete
     {toxinidir}/manage.py test --noinput --liveserver=localhost:9000-9200 \
         '{posargs:patchwork}'
 
-- 
2.0.0



More information about the Patchwork mailing list