Author: adrian
Date: 2010-10-08 15:30:02 -0500 (Fri, 08 Oct 2010)
New Revision: 14033

Modified:
   django/trunk/docs/topics/testing.txt
Log:
Rewrote 'Test with warnings enabled' section of docs/topics/testing.txt from 
[14019] to be clearer

Modified: django/trunk/docs/topics/testing.txt
===================================================================
--- django/trunk/docs/topics/testing.txt        2010-10-08 18:26:12 UTC (rev 
14032)
+++ django/trunk/docs/topics/testing.txt        2010-10-08 20:30:02 UTC (rev 
14033)
@@ -311,11 +311,11 @@
 
 .. 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

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to