summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
Diffstat (limited to 'Lib')
-rw-r--r--Lib/email/test/test_email_codecs_renamed.py4
-rw-r--r--Lib/test/test_fork1.py1
2 files changed, 3 insertions, 2 deletions
diff --git a/Lib/email/test/test_email_codecs_renamed.py b/Lib/email/test/test_email_codecs_renamed.py
index 7122212..acc19c3 100644
--- a/Lib/email/test/test_email_codecs_renamed.py
+++ b/Lib/email/test/test_email_codecs_renamed.py
@@ -3,7 +3,7 @@
# email package unit tests for (optional) Asian codecs
import unittest
-from test.support import TestSkipped, run_unittest
+from 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:
str('foo', 'euc-jp')
except LookupError:
- raise TestSkipped
+ raise unittest.SkipTest
diff --git a/Lib/test/test_fork1.py b/Lib/test/test_fork1.py
index 057c589..c9f18d9 100644
--- a/Lib/test/test_fork1.py
+++ b/Lib/test/test_fork1.py
@@ -3,6 +3,7 @@
import os
import time
+import unittest
from test.fork_wait import ForkWait
from test.support import run_unittest, reap_children