]> git.ipfire.org Git - thirdparty/patchwork.git/commitdiff
tox: Don't use exceptions - just warn
authorStephen Finucane <stephen@that.guru>
Thu, 18 May 2017 20:54:57 +0000 (21:54 +0100)
committerStephen Finucane <stephen@that.guru>
Thu, 18 May 2017 20:57:10 +0000 (21:57 +0100)
It seems Django uses deprecated items in Python 3.x, meaning we can't
use this.

Signed-off-by: Stephen Finucane <stephen@that.guru>
Fixes: 9db5cd0 ("tox: Turn deprecation notices into warnings")
tox.ini

diff --git a/tox.ini b/tox.ini
index 1023c0d2fde1bbba529addaab50f1d44321bc754..fbcf9b3616cc9b01b435bb202ad1cf562df6e616 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -26,7 +26,7 @@ passenv =
     PW_TEST_DB_PORT DISPLAY SELENIUM_BROWSER PW_SKIP_BROWSER_TESTS
     DISPLAY HOME XAUTHORITY
 commands =
-    python -Werror {toxinidir}/manage.py test --noinput \
+    python -Wonce {toxinidir}/manage.py test --noinput \
         --liveserver=localhost:9000-9200 '{posargs:patchwork}'
 
 [testenv:bashate]