From 35e6565183b4a6619e375216aebcf190982200d2 Mon Sep 17 00:00:00 2001 From: qinchunhua Date: Sat, 15 Oct 2016 00:55:18 -0400 Subject: [PATCH] Delete python bytecode file This patch delete python bytecode including pyo before every test run. Change-Id: Ie6406337072bebaaa94a2b5437a2c1cece107b56 --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 767210e8e..ea1cd04cb 100644 --- a/tox.ini +++ b/tox.ini @@ -13,7 +13,7 @@ setenv = VIRTUAL_ENV={envdir} deps = -r{toxinidir}/test-requirements.txt commands = - find . -type f -name "*.pyc" -delete + find . -type f -name "*.py[c|o]" -delete find . -type d -name "__pycache__" -delete ostestr --concurrency=6 {posargs}