From 349b737b62e8cc903bda49866d69a277547f9210 Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Thu, 18 May 2017 21:54:57 +0100 Subject: [PATCH] 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") --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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] -- 2.47.3