cpython/Lib/email/test
Tim Peters 53d019cf5a Changed import from
from test.test_support import TestSkipped, run_unittest
to
    from test_support import TestSkipped, run_unittest

Otherwise, if the Japanese codecs aren't installed, regrtest doesn't
believe the TestSkipped exception raised by this test matches the

    except (ImportError, test_support.TestSkipped), msg:

it's looking for, and reports the skip as a crash failure instead of
as a skipped test.

I suppose this will make it harder to run this test outside of
regrtest, but under the assumption only Barry does that, better to
make it skip cleanly for everyone else.
2002-07-21 06:06:30 +00:00
..
data
__init__.py The email package's tests live much better in a subpackage 2002-07-19 22:31:10 +00:00
test_email.py The email package's tests live much better in a subpackage 2002-07-19 22:31:10 +00:00
test_email_codecs.py Changed import from 2002-07-21 06:06:30 +00:00
test_email_torture.py The email package's tests live much better in a subpackage 2002-07-19 22:31:10 +00:00