diff options
author | Hai Shi <shihai1992@gmail.com> | 2020-08-03 16:47:42 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-03 16:47:42 (GMT) |
commit | bb0424b122e3d222a558bd4177ce37befd3e0347 (patch) | |
tree | f5962e6276319558e48b702b6fa5a48f5c03ff6b /Lib/test/test_ordered_dict.py | |
parent | a7f5d93bb6906d0f999248b47295d3a59b130f4d (diff) | |
download | cpython-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.py | 7 |
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 |