Use PYTHONDONTWRITEBYTECODE=1 on tox environment

This fixes bad marshal data errors after running
tests with tox and later running tests manually
via runtests.py. Fixes #1957
This commit is contained in:
José Padilla 2014-10-28 16:58:25 -04:00
parent 4ad4fca6ce
commit 8af3d5db49

View File

@ -9,6 +9,8 @@ envlist =
[testenv] [testenv]
commands = ./runtests.py --fast commands = ./runtests.py --fast
setenv =
PYTHONDONTWRITEBYTECODE=1
[testenv:flake8] [testenv:flake8]
basepython = python2.7 basepython = python2.7