mirror of
https://github.com/python/cpython.git
synced 2025-07-30 06:34:15 +00:00
Have mimify raise a DeprecationWarning. The docs and PEP 4 have listed the
module as deprecated for a while.
This commit is contained in:
parent
90134c9a05
commit
c249bdab92
4 changed files with 9 additions and 0 deletions
|
@ -6,6 +6,7 @@ import warnings
|
|||
with guard_warnings_filter():
|
||||
warnings.filterwarnings('ignore', r".*posixfile",
|
||||
DeprecationWarning)
|
||||
warnings.filterwarnings('ignore', r".*mimify", DeprecationWarning)
|
||||
|
||||
from test.test_support import verbose
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue