diff options
| author | Hai Shi <shihai1992@gmail.com> | 2020-08-04 00:47:42 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-03 18:47:42 +0200 |
| commit | bb0424b122e3d222a558bd4177ce37befd3e0347 (patch) | |
| tree | f5962e6276319558e48b702b6fa5a48f5c03ff6b /Lib/test/test_ordered_dict.py | |
| parent | a7f5d93bb6906d0f999248b47295d3a59b130f4d (diff) | |
| download | cpython-git-bb0424b122e3d222a558bd4177ce37befd3e0347.tar.gz | |
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 fdea44e4d8..1f27c0e0b5 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 |
