summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_rfc822.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_rfc822.py')
-rw-r--r--Lib/test/test_rfc822.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_rfc822.py b/Lib/test/test_rfc822.py
index 197887d..afbc984 100644
--- a/Lib/test/test_rfc822.py
+++ b/Lib/test/test_rfc822.py
@@ -1,7 +1,8 @@
-import rfc822
import unittest
from test import test_support
+rfc822 = test_support.import_module("rfc822", deprecated=True)
+
try:
from cStringIO import StringIO
except ImportError: