From: Stephen Finucane Date: Thu, 18 May 2017 20:54:57 +0000 (+0100) Subject: tox: Don't use exceptions - just warn X-Git-Tag: v2.0.0-rc2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=349b737b62e8cc903bda49866d69a277547f9210;p=thirdparty%2Fpatchwork.git tox: Don't use exceptions - just warn It seems Django uses deprecated items in Python 3.x, meaning we can't use this. Signed-off-by: Stephen Finucane Fixes: 9db5cd0 ("tox: Turn deprecation notices into warnings") --- diff --git a/tox.ini b/tox.ini index 1023c0d2..fbcf9b36 100644 --- 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]