bpo-40275: Use new test.support helper submodules in tests (GH-21314)
diff --git a/Lib/test/test_pickle.py b/Lib/test/test_pickle.py
index 2307b13..1f5cb10 100644
--- a/Lib/test/test_pickle.py
+++ b/Lib/test/test_pickle.py
@@ -10,6 +10,7 @@
import unittest
from test import support
+from test.support import import_helper
from test.pickletester import AbstractHookTests
from test.pickletester import AbstractUnpickleTests
@@ -499,7 +500,7 @@
('builtins', name))
def test_multiprocessing_exceptions(self):
- module = support.import_module('multiprocessing.context')
+ module = import_helper.import_module('multiprocessing.context')
for name, exc in get_exceptions(module):
with self.subTest(name):
self.assertEqual(reverse_mapping('multiprocessing.context', name),