fix import
This commit is contained in:
parent
76a982a027
commit
33cd7ef867
|
@ -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