diff --git a/tox.ini b/tox.ini index d1729f98..9c49064c 100644 --- a/tox.ini +++ b/tox.ini @@ -3,9 +3,8 @@ minversion = 4.28.0 envlist = py3,py3,pep8 [testenv] -allowlist_externals = - find - env +setenv = + PYTHONDONTWRITEBYTECODE=1 constraints = {env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} deps = @@ -16,7 +15,6 @@ passenv = OSLO_LOG_TEST_EVENTLET EVENTLET_HUB commands = - find . -type f -name "*.pyc" -delete python -c "import eventlet.hubs; print('Hub used:', eventlet.hubs.get_hub())" stestr run {posargs} stestr slowest