mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
Issue 26912: fix broken imports in test_email package.
This commit is contained in:
parent
823c626b43
commit
f73a48cbb2
2 changed files with 9 additions and 12 deletions
|
@ -5,7 +5,7 @@
|
|||
import unittest
|
||||
from test.support import run_unittest
|
||||
|
||||
from test.test_email.test_email import TestEmailBase
|
||||
from test.test_email import TestEmailBase
|
||||
from email.charset import Charset
|
||||
from email.header import Header, decode_header
|
||||
from email.message import Message
|
||||
|
@ -18,7 +18,7 @@ except LookupError:
|
|||
raise unittest.SkipTest
|
||||
|
||||
|
||||
|
||||
|
||||
class TestEmailAsianCodecs(TestEmailBase):
|
||||
def test_japanese_codecs(self):
|
||||
eq = self.ndiffAssertEqual
|
||||
|
@ -77,6 +77,6 @@ Hello World! =?iso-2022-jp?b?GyRCJU8lbSE8JW8hPCVrJUkhKhsoQg==?=
|
|||
self.assertEqual(jhello, ustr)
|
||||
|
||||
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue