From b32463ed6daee3a9fe504941a839bc9f58d48f4c Mon Sep 17 00:00:00 2001 From: qinchunhua Date: Sat, 15 Oct 2016 01:09:03 -0400 Subject: [PATCH] Delete python bytecode file This patch delete python bytecode including pyo before every test run. Change-Id: I26ca06f305133e27fd3254d67dbad286d62aded4 --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 6ecdb74c..47073c01 100644 --- a/tox.ini +++ b/tox.ini @@ -10,7 +10,7 @@ install_command = pip install -U {opts} {packages} deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt commands = - find . -type f -name "*.pyc" -delete + find . -type f -name "*.py[c|o]" -delete python setup.py testr --slowest --testr-args='{posargs}' whitelist_externals = find