mirror of
https://github.com/python/cpython.git
synced 2025-07-30 22:54:16 +00:00
Patch #1529686: also run test_email_codecs with regrtest.py.
This commit is contained in:
parent
39d7739e6c
commit
4793aa39a9
2 changed files with 11 additions and 7 deletions
|
@ -1,11 +1,15 @@
|
|||
# Copyright (C) 2002 Python Software Foundation
|
||||
# email package unit tests for (optional) Asian codecs
|
||||
|
||||
import unittest
|
||||
# The specific tests now live in Lib/email/test
|
||||
from email.test.test_email_codecs import suite
|
||||
from email.test import test_email_codecs
|
||||
from email.test import test_email_codecs_renamed
|
||||
from test import test_support
|
||||
|
||||
def test_main():
|
||||
suite = test_email_codecs.suite()
|
||||
suite.addTest(test_email_codecs_renamed.suite())
|
||||
test_support.run_suite(suite)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main(defaultTest='suite')
|
||||
test_main()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue