From 4930cc2d24548371065c42c3cdbc2fffa1eed18f Mon Sep 17 00:00:00 2001 From: Noah Levitt Date: Wed, 28 Oct 2015 23:35:23 +0000 Subject: [PATCH] try to avoid conflicts with *.pyc files from outside of the docker tests --- tests/run-tests.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/run-tests.sh b/tests/run-tests.sh index 89dc3b8..069986f 100755 --- a/tests/run-tests.sh +++ b/tests/run-tests.sh @@ -18,8 +18,8 @@ do && virtualenv -p $python /tmp/venv \ && source /tmp/venv/bin/activate \ && pip --log-file /tmp/pip.log install . pytest requests \ - && py.test -s tests \ - && py.test -s --rethinkdb-servers=localhost tests \ - && py.test -s --rethinkdb-servers=localhost --rethinkdb-big-table tests'" + && PYTHONDONTWRITEBYTECODE=1 py.test -s tests \ + && PYTHONDONTWRITEBYTECODE=1 py.test -s --rethinkdb-servers=localhost tests \ + && PYTHONDONTWRITEBYTECODE=1 py.test -s --rethinkdb-servers=localhost --rethinkdb-big-table tests'" done