summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_dbm_ndbm.py
diff options
context:
space:
mode:
authorHai Shi <shihai1992@gmail.com>2020-07-09 13:25:10 (GMT)
committerGitHub <noreply@github.com>2020-07-09 13:25:10 (GMT)
commit96a6a6d42be272a27562d98549bbffc0d1854669 (patch)
tree9c4fc12729aa2accce4ca953a6431acec87cf542 /Lib/test/test_dbm_ndbm.py
parent61bb24a270d15106decb1c7983bf4c2831671a75 (diff)
downloadcpython-96a6a6d42be272a27562d98549bbffc0d1854669.zip
cpython-96a6a6d42be272a27562d98549bbffc0d1854669.tar.gz
cpython-96a6a6d42be272a27562d98549bbffc0d1854669.tar.bz2
bpo-40275: Use new test.support helper submodules in tests (GH-21412)
Diffstat (limited to 'Lib/test/test_dbm_ndbm.py')
-rw-r--r--Lib/test/test_dbm_ndbm.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_dbm_ndbm.py b/Lib/test/test_dbm_ndbm.py
index 7ac75c5..278fca2 100644
--- a/Lib/test/test_dbm_ndbm.py
+++ b/Lib/test/test_dbm_ndbm.py
@@ -1,5 +1,6 @@
from test import support
-support.import_module("dbm.ndbm") #skip if not supported
+from test.support import import_helper
+import_helper.import_module("dbm.ndbm") #skip if not supported
import os
import unittest
import dbm.ndbm