Replaced 'python -Wall' with 'python -Wa'.

This commit is contained in:
Daniel Chimeno 2018-03-28 19:25:03 +02:00 committed by Tim Graham
parent 2156565b5b
commit fbb9358149
3 changed files with 6 additions and 6 deletions

View file

@ -175,7 +175,7 @@ the first release of Django that deprecates a feature (``A.B``) should raise a
will be removed) when the deprecated feature is invoked. Assuming we have good
test coverage, these warnings are converted to errors when :ref:`running the
test suite <running-unit-tests>` with warnings enabled:
``python -Wall runtests.py``. Thus, when adding a ``RemovedInDjangoXXWarning``
``python -Wa runtests.py``. Thus, when adding a ``RemovedInDjangoXXWarning``
you need to eliminate or silence any warnings generated when running the tests.
The first step is to remove any use of the deprecated behavior by Django itself.