Commit 5c7661ee authored by Ezio Melotti's avatar Ezio Melotti

Fix deprecation warning in test_MimeWriter.

parent 277a5973
...@@ -8,12 +8,9 @@ This should generate Barry's example, modulo some quotes and newlines. ...@@ -8,12 +8,9 @@ This should generate Barry's example, modulo some quotes and newlines.
""" """
import unittest, StringIO import unittest, StringIO
from test.test_support import run_unittest from test.test_support import run_unittest, import_module
import warnings
warnings.filterwarnings("ignore", "the MimeWriter module is deprecated.*",
DeprecationWarning)
import_module("MimeWriter", deprecated=True)
from MimeWriter import MimeWriter from MimeWriter import MimeWriter
SELLER = '''\ SELLER = '''\
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment