summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_MimeWriter.py4
-rw-r--r--Lib/test/test___all__.py2
2 files changed, 6 insertions, 0 deletions
diff --git a/Lib/test/test_MimeWriter.py b/Lib/test/test_MimeWriter.py
index feca163..5a20bf2 100644
--- a/Lib/test/test_MimeWriter.py
+++ b/Lib/test/test_MimeWriter.py
@@ -10,6 +10,10 @@ This should generate Barry's example, modulo some quotes and newlines.
import unittest, sys, StringIO
from test.test_support import run_unittest
+import warnings
+warnings.filterwarnings("ignore", "the MimeWriter module is deprecated.*",
+ DeprecationWarning)
+
from MimeWriter import MimeWriter
SELLER = '''\
diff --git a/Lib/test/test___all__.py b/Lib/test/test___all__.py
index 14795a6..071ed04 100644
--- a/Lib/test/test___all__.py
+++ b/Lib/test/test___all__.py
@@ -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):