Merge "Do not generate bytecode in tests"

This commit is contained in:
Zuul authored and Gerrit Code Review committed 2026-10-03 21:32:40 +00:00
commit 9d2ab0fa27
1 file changed
+2 -4
+2 -4
View File
@@ -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