mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Have MimeWriter raise a DeprecationWarning as per PEP 4 and its documentation.
This commit is contained in:
parent
b4eec28e33
commit
90134c9a05
4 changed files with 13 additions and 0 deletions
|
@ -7,6 +7,8 @@ warnings.filterwarnings("ignore", "the sets module is deprecated",
|
|||
DeprecationWarning, "<string>")
|
||||
warnings.filterwarnings("ignore", ".*popen2 module is deprecated.*",
|
||||
DeprecationWarning)
|
||||
warnings.filterwarnings("ignore", "the MimeWriter module is deprecated.*",
|
||||
DeprecationWarning)
|
||||
|
||||
class AllTest(unittest.TestCase):
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue