[Python-checkins] devguide: Remove the duplication of the flags to run the test suite under strenuous
brett.cannon
python-checkins at python.org
Thu Jan 13 00:44:12 CET 2011
brett.cannon pushed 7a487e169328 to devguide:
http://hg.python.org/devguide/rev/7a487e169328
changeset: 86:7a487e169328
user: Brett Cannon <brett at python.org>
date: Wed Jan 12 10:33:37 2011 -0800
summary:
Remove the duplication of the flags to run the test suite under strenuous conditions from the warnings task and instead link back to the test suite running doc.
files:
faq.rst
runtests.rst
silencewarnings.rst
diff --git a/faq.rst b/faq.rst
--- a/faq.rst
+++ b/faq.rst
@@ -44,14 +44,6 @@
=========== ============================================================== ==========================================================================
-
-What tools do I need to merge between branches?
------------------------------------------------
-
-You need `svnmerge.py
-<http://svn.apache.org/repos/asf/subversion/trunk/contrib/client-side/svnmerge/svnmerge.py>`__.
-
-
How do I prepare a new branch for merging?
------------------------------------------
diff --git a/runtests.rst b/runtests.rst
--- a/runtests.rst
+++ b/runtests.rst
@@ -33,6 +33,8 @@
./python -m test test_abc
+.. _strenuous_testing:
+
Finally, if you want to run tests under a more strenuous set of settings, you
can run test as::
diff --git a/silencewarnings.rst b/silencewarnings.rst
--- a/silencewarnings.rst
+++ b/silencewarnings.rst
@@ -3,14 +3,13 @@
Silence Warnings From the Test Suite
====================================
-When running Python's test suite, no warnings should result::
-
- ./python -m -W error test -uall
-
-Unfortunately new warnings are added to Python on occasion which take some time
-to eliminate (e.g., ``ResourceWarning``). Typically the easy warnings are dealt
-with quickly, but the more difficult ones that require some thought and work do
-not get fixed immediately.
+When running Python's test suite, no warnings should result when you run it
+under :ref:`strenuous testing conditions <strenuous_testing>` (you can ignore
+the extra flags past to ``test`` that cause randomness and parallel execution
+if you want). Unfortunately new warnings are added to Python on occasion which
+take some time to eliminate (e.g., ``ResourceWarning``). Typically the easy
+warnings are dealt with quickly, but the more difficult ones that require some
+thought and work do not get fixed immediately.
If you decide to tackle a warning you have found, open an issue on the `issue
tracker`_ (if one has not already been opened) and say you are going to try and
--
Repository URL: http://hg.python.org/devguide
More information about the Python-checkins
mailing list