update email tests to use SkipTest
This commit is contained in:
parent
effa1dc709
commit
04232973b7
|
@ -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
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue