summaryrefslogtreecommitdiff
path: root/Lib/test/test_rfc822.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2008-06-12 22:33:06 +0000
committerBenjamin Peterson <benjamin@python.org>2008-06-12 22:33:06 +0000
commit26305a03e3d501f9338af3f1373f8ec7da88838f (patch)
treec69a1822ec0f2412e726257a5fec4ab310c0e6b2 /Lib/test/test_rfc822.py
parent6fd3321d6c2d374f4d46534e630b822e7da4310e (diff)
downloadcpython-git-26305a03e3d501f9338af3f1373f8ec7da88838f.tar.gz
add py3k warnings to rfc822
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 197887d4aa..afbc984c87 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: