diff options
author | Georg Brandl <georg@python.org> | 2006-07-28 18:31:39 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2006-07-28 18:31:39 (GMT) |
commit | 4793aa39a9200383117fe58a0b10fcfae4299c45 (patch) | |
tree | dd9f529e59756aa5676acfcebd7e58e6132d56b7 /Lib | |
parent | 39d7739e6cedda8b6ec3a4ccef6a551317c29ad9 (diff) | |
download | cpython-4793aa39a9200383117fe58a0b10fcfae4299c45.zip cpython-4793aa39a9200383117fe58a0b10fcfae4299c45.tar.gz cpython-4793aa39a9200383117fe58a0b10fcfae4299c45.tar.bz2 |
Patch #1529686: also run test_email_codecs with regrtest.py.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_email_codecs.py | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/Lib/test/test_email_codecs.py b/Lib/test/test_email_codecs.py index aadd537..c550a6f 100644 --- a/Lib/test/test_email_codecs.py +++ b/Lib/test/test_email_codecs.py @@ -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() |