From fbb93581498070272dd67c6e0afbca13cb89d5f3 Mon Sep 17 00:00:00 2001 From: Daniel Chimeno Date: Wed, 28 Mar 2018 19:25:03 +0200 Subject: Replaced 'python -Wall' with 'python -Wa'. --- docs/topics/testing/overview.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/topics/testing') diff --git a/docs/topics/testing/overview.txt b/docs/topics/testing/overview.txt index 357ec9d790..12efb381c7 100644 --- a/docs/topics/testing/overview.txt +++ b/docs/topics/testing/overview.txt @@ -128,7 +128,7 @@ be reported, and any test databases created by the run will not be destroyed. .. admonition:: Test with warnings enabled It's a good idea to run your tests with Python warnings enabled: - ``python -Wall manage.py test``. The ``-Wall`` flag tells Python to + ``python -Wa manage.py test``. The ``-Wa`` flag tells Python to display deprecation warnings. Django, like many other Python libraries, uses these warnings to flag when features are going away. It also might flag areas in your code that aren't strictly wrong but could benefit -- cgit v1.3