diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2010-10-08 20:30:02 +0000 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2010-10-08 20:30:02 +0000 |
| commit | 40777cb533d153a7772cb53fbcc05c642c6fb097 (patch) | |
| tree | f109592f4bd1b217602a38d9aa094b834b43b564 | |
| parent | bca8aed4196219a29022d39f498dcb1b5de44ebb (diff) | |
Rewrote 'Test with warnings enabled' section of docs/topics/testing.txt from [14019] to be clearer
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14033 bcc190cf-cafb-0310-a4f2-bffc1f526a37
| -rw-r--r-- | docs/topics/testing.txt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/topics/testing.txt b/docs/topics/testing.txt index 54717d3159..28e67b438c 100644 --- a/docs/topics/testing.txt +++ b/docs/topics/testing.txt @@ -311,11 +311,11 @@ be reported, and any test databases created by the run will not be destroyed. .. admonition:: Test with warnings enabled - It is a good idea to run your tests with ``python -Wall manage.py - test``. This will allow you to catch any deprecation warnings that - might be in your code. Django (as well as many other libraries) use - warnings to flag when features are deprecated. It can also flag - areas in your code that are not strictly wrong, but may benefit + It's a good idea to run your tests with Python warnings enabled: + ``python -Wall manage.py test``. The ``-Wall`` 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 from a better implementation. Running tests outside the test runner |
