From: Barry Warsaw Date: Fri, 4 Oct 2002 18:00:13 +0000 (+0000) Subject: regrtest expects TestSkipped to come from test_support not X-Git-Tag: v2.2.2b1~72 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=850952b69ac45eb611510edb926e81017f7eb58e;p=thirdparty%2FPython%2Fcpython.git regrtest expects TestSkipped to come from test_support not test.test_support --- diff --git a/Lib/email/test/test_email_codecs.py b/Lib/email/test/test_email_codecs.py index 0f681519e424..a9a500e340ba 100644 --- a/Lib/email/test/test_email_codecs.py +++ b/Lib/email/test/test_email_codecs.py @@ -2,7 +2,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 @@ -12,6 +12,8 @@ from email.Header import Header, decode_header try: unicode('foo', 'japanese.iso-2022-jp') except LookupError: + # Different in Python 2.3 + from test_support import TestSkipped raise TestSkipped, 'Optional Japanese codecs not installed'