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+.
This commit is contained in:
Deniz Turgut 2016-09-16 15:22:46 -04:00
commit 77d8160dab

View file

@ -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