[Python-checkins] r62891 - peps/trunk/pep-3108.txt
brett.cannon
python-checkins at python.org
Thu May 8 22:01:15 CEST 2008
Author: brett.cannon
Date: Thu May 8 22:01:15 2008
New Revision: 62891
Log:
Add the step of suppressing deprecation warnings in a module's test code.
Modified:
peps/trunk/pep-3108.txt
Modified: peps/trunk/pep-3108.txt
==============================================================================
--- peps/trunk/pep-3108.txt (original)
+++ peps/trunk/pep-3108.txt Thu May 8 22:01:15 2008
@@ -921,6 +921,9 @@
#. Add the module to the module deletion test in ``test_py3kwarn``.
+#. Suppress the warning in the module's test code using
+ ``test.test_support.import_module(name, deprecated=True)``.
+
#. Check in the change w/ appropriate ``Misc/NEWS`` entry (**block**
the checkin in ``py3k``!).
More information about the Python-checkins
mailing list