summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_ordered_dict.py
diff options
context:
space:
mode:
authorHai Shi <shihai1992@gmail.com>2020-08-03 16:47:42 (GMT)
committerGitHub <noreply@github.com>2020-08-03 16:47:42 (GMT)
commitbb0424b122e3d222a558bd4177ce37befd3e0347 (patch)
treef5962e6276319558e48b702b6fa5a48f5c03ff6b /Lib/test/test_ordered_dict.py
parenta7f5d93bb6906d0f999248b47295d3a59b130f4d (diff)
downloadcpython-bb0424b122e3d222a558bd4177ce37befd3e0347.zip
cpython-bb0424b122e3d222a558bd4177ce37befd3e0347.tar.gz
cpython-bb0424b122e3d222a558bd4177ce37befd3e0347.tar.bz2
bpo-40275: Use new test.support helper submodules in tests (GH-21451)
Diffstat (limited to 'Lib/test/test_ordered_dict.py')
-rw-r--r--Lib/test/test_ordered_dict.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/Lib/test/test_ordered_dict.py b/Lib/test/test_ordered_dict.py
index fdea44e..1f27c0e 100644
--- a/Lib/test/test_ordered_dict.py
+++ b/Lib/test/test_ordered_dict.py
@@ -10,10 +10,13 @@ import unittest
import weakref
from collections.abc import MutableMapping
from test import mapping_tests, support
+from test.support import import_helper
-py_coll = support.import_fresh_module('collections', blocked=['_collections'])
-c_coll = support.import_fresh_module('collections', fresh=['_collections'])
+py_coll = import_helper.import_fresh_module('collections',
+ blocked=['_collections'])
+c_coll = import_helper.import_fresh_module('collections',
+ fresh=['_collections'])
@contextlib.contextmanager