summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_dict_version.py
diff options
context:
space:
mode:
authorHai Shi <shihai1992@gmail.com>2020-06-30 13:46:31 (GMT)
committerGitHub <noreply@github.com>2020-06-30 13:46:31 (GMT)
commit0c4f0f3b29d84063700217dcf90ad6860ed71c70 (patch)
tree22c7c745a13327858287f8ea010794ba51af7be9 /Lib/test/test_dict_version.py
parent3ddc634cd5469550c0c2dc5a6051a70739995699 (diff)
downloadcpython-0c4f0f3b29d84063700217dcf90ad6860ed71c70.zip
cpython-0c4f0f3b29d84063700217dcf90ad6860ed71c70.tar.gz
cpython-0c4f0f3b29d84063700217dcf90ad6860ed71c70.tar.bz2
bpo-40275: Use new test.support helper submodules in tests (GH-21169)
Diffstat (limited to 'Lib/test/test_dict_version.py')
-rw-r--r--Lib/test/test_dict_version.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_dict_version.py b/Lib/test/test_dict_version.py
index b237865..8cdccad 100644
--- a/Lib/test/test_dict_version.py
+++ b/Lib/test/test_dict_version.py
@@ -2,11 +2,11 @@
Test implementation of the PEP 509: dictionary versionning.
"""
import unittest
-from test import support
+from test.support import import_helper
# PEP 509 is implemented in CPython but other Python implementations
# don't require to implement it
-_testcapi = support.import_module('_testcapi')
+_testcapi = import_helper.import_module('_testcapi')
class DictVersionTests(unittest.TestCase):