diff --git a/run_tests.sh b/run_tests.sh index 7cb0ca9a0b..133b84515e 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -74,6 +74,9 @@ if [ $no_site_packages -eq 1 ]; then fi function run_tests { + # Cleanup *pyc + echo "cleaning *.pyc files" + ${wrapper} find . -type f -name "*.pyc" -delete # Just run the test suites in current environment ${wrapper} $NOSETESTS 2> run_tests.log # If we get some short import error right away, print the error log directly