aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Padilla2014-10-28 16:58:25 -0400
committerJosé Padilla2014-10-28 16:58:25 -0400
commit8af3d5db492c7468a1f2e4befdcd78b59216241d (patch)
tree5c099f228d5aed29431a8128d3c6b6787dc0d515
parent4ad4fca6cec66b8f088921404e6896ee0b324a03 (diff)
downloaddjango-rest-framework-8af3d5db492c7468a1f2e4befdcd78b59216241d.tar.bz2
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
-rw-r--r--tox.ini2
1 files changed, 2 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index d40a7079..b3f53cce 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