From 04232973b7ff1a9b31952f1b7ce6d806f6071b20 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Thu, 26 Mar 2009 21:40:29 +0000 Subject: [PATCH] update email tests to use SkipTest --- Lib/email/test/test_email_codecs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Lib/email/test/test_email_codecs.py b/Lib/email/test/test_email_codecs.py index 38b7d953925..e85d754c402 100644 --- a/Lib/email/test/test_email_codecs.py +++ b/Lib/email/test/test_email_codecs.py @@ -3,7 +3,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 @@ -15,7 +15,7 @@ from email.Message import Message try: unicode('foo', 'euc-jp') except LookupError: - raise TestSkipped + raise unittest.SkipTest