Add the step of suppressing deprecation warnings in a module's test code.

This commit is contained in:
Brett Cannon 2008-05-08 20:01:15 +00:00
parent 5e82fd0d44
commit c416e0e93f
1 changed files with 3 additions and 0 deletions

View File

@ -921,6 +921,9 @@ In Python 2.6
#. 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``!).