From 8af3d5db492c7468a1f2e4befdcd78b59216241d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Padilla?= Date: Tue, 28 Oct 2014 16:58:25 -0400 Subject: [PATCH] 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 --- tox.ini | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tox.ini b/tox.ini index d40a70799..b3f53cce2 100644 --- a/tox.ini +++ b/tox.ini @@ -9,6 +9,8 @@ envlist = [testenv] commands = ./runtests.py --fast +setenv = + PYTHONDONTWRITEBYTECODE=1 [testenv:flake8] basepython = python2.7