From 77d8160dab5e8cbb3b0890a80f0dd5ba44b27349 Mon Sep 17 00:00:00 2001 From: Deniz Turgut Date: Fri, 16 Sep 2016 15:22:46 -0400 Subject: [PATCH] Add warnings override for unittest in the docs Unittest supresses warning filters unless `-Wd` flag is supplied and this will result in test failures in python 3.5+. --- docs/contribute.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/contribute.rst b/docs/contribute.rst index ae44cd0b..0ed82dfd 100644 --- a/docs/contribute.rst +++ b/docs/contribute.rst @@ -69,7 +69,7 @@ or bugfix. The tests live in ``pelican/tests`` and you can run them using the "discover" feature of ``unittest``:: - $ python -m unittest discover + $ python -Wd -m unittest discover After making your changes and running the tests, you may see a test failure mentioning that "some generated files differ from the expected functional tests