Add the step of suppressing deprecation warnings in a module's test code.
This commit is contained in:
parent
5e82fd0d44
commit
c416e0e93f
|
@ -921,6 +921,9 @@ In Python 2.6
|
||||||
|
|
||||||
#. Add the module to the module deletion test in ``test_py3kwarn``.
|
#. 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**
|
#. Check in the change w/ appropriate ``Misc/NEWS`` entry (**block**
|
||||||
the checkin in ``py3k``!).
|
the checkin in ``py3k``!).
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue