From c4167f8b84586667dd015f93a6a8b65237ec2701 Mon Sep 17 00:00:00 2001 From: Feng Shengqin Date: Tue, 22 Nov 2016 03:30:05 +0800 Subject: [PATCH] Delete python bytecode file This patch delete python bytecode including pyo before every test run. Change-Id: I9adfc7ddecab6b951aa659adc245ad318e46e7c6 --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 325dbbd1..4e205ac2 100644 --- a/tox.ini +++ b/tox.ini @@ -16,7 +16,7 @@ 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 bash tools/pretty_tox.sh '{posargs}'