From a3eaf794d131357be27fbfd1f5e096a02186644c Mon Sep 17 00:00:00 2001 From: Andrey Kurilin Date: Tue, 9 Jun 2015 18:45:04 +0300 Subject: [PATCH] Remove 'pyc' files before running tests Change-Id: Ide659b7b8f4355bfd2a3dc87016c05d092b408b3 --- tox.ini | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index faffbf3e80..8e3bdb6482 100644 --- a/tox.ini +++ b/tox.ini @@ -13,7 +13,9 @@ deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt install_command = pip install -U {opts} {packages} usedevelop = True -commands = python setup.py testr --slowest --testr-args='{posargs}' +commands = + find . -type f -name "*.pyc" -delete + python setup.py testr --slowest --testr-args='{posargs}' distribute = false basepython = python2.7