Because python creates pyc|pyo files and __pycache__
directories during tox runs, certain changes in the tree,
like deletes of files, or switching branches, can create
spurious errors.
The target bytecodes for deletion are in normal directories,
but not in dot started directory.
Reviewed: https:/ /review. openstack. org/252157 /git.openstack. org/cgit/ openstack/ python- neutronclient/ commit/ ?id=83d61566cee 8b8e786b46103cf 3e72fbe8077c1a
Committed: https:/
Submitter: Jenkins
Branch: master
commit 83d61566cee8b8e 786b46103cf3e72 fbe8077c1a
Author: shu-mutou <email address hidden>
Date: Wed Dec 2 12:19:19 2015 +0900
Delete python bytecode before every test run
Because python creates pyc|pyo files and __pycache__
directories during tox runs, certain changes in the tree,
like deletes of files, or switching branches, can create
spurious errors.
The target bytecodes for deletion are in normal directories,
but not in dot started directory.
Change-Id: Iee36c67d2e5e4d 9e78b1b1b493030 761e0f46e3c
Closes-Bug: #1368661