mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
Replaced 'python -Wall' with 'python -Wa'.
This commit is contained in:
committed by
Tim Graham
parent
2156565b5b
commit
fbb9358149
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user