update email tests to use SkipTest

This commit is contained in:
Benjamin Peterson 2009-03-26 21:40:29 +00:00
parent effa1dc709
commit 04232973b7
1 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
# email package unit tests for (optional) Asian codecs
import unittest
from test.test_support import TestSkipped, run_unittest
from test.test_support import run_unittest
from email.test.test_email import TestEmailBase
from email.Charset import Charset
@ -15,7 +15,7 @@ from email.Message import Message
try:
unicode('foo', 'euc-jp')
except LookupError:
raise TestSkipped
raise unittest.SkipTest