diff options
| author | Daniel Chimeno <daniel@chimeno.me> | 2018-03-28 19:25:03 +0200 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2018-03-28 13:25:03 -0400 |
| commit | fbb93581498070272dd67c6e0afbca13cb89d5f3 (patch) | |
| tree | 0cdd300c628bfd76b1e76c253b3654e58dbe1391 /docs/internals/contributing | |
| parent | 2156565b5bac2e6f503ad4841e2b6ed44e4de656 (diff) | |
Replaced 'python -Wall' with 'python -Wa'.
Diffstat (limited to 'docs/internals/contributing')
| -rw-r--r-- | docs/internals/contributing/writing-code/submitting-patches.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/internals/contributing/writing-code/submitting-patches.txt b/docs/internals/contributing/writing-code/submitting-patches.txt index cbda36075d..15dd431229 100644 --- a/docs/internals/contributing/writing-code/submitting-patches.txt +++ b/docs/internals/contributing/writing-code/submitting-patches.txt @@ -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. |
