From 62609cb6f15c03ab1c5aa3e31bd31f6c78fba13a Mon Sep 17 00:00:00 2001 From: Dave Halter Date: Wed, 17 Dec 2014 14:00:11 +0100 Subject: [PATCH] Resolve tox issues. --- tox.ini | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tox.ini b/tox.ini index f59efa3c..526092fc 100644 --- a/tox.ini +++ b/tox.ini @@ -8,6 +8,10 @@ deps = docopt # coloroma for colored debug output colorama +setenv = +# https://github.com/tomchristie/django-rest-framework/issues/1957 +# tox corrupts __pycache__, solution from here: + PYTHONDONTWRITEBYTECODE=1 commands = py.test [] [testenv:py26]