summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_readline.py
diff options
context:
space:
mode:
authorHai Shi <shihai1992@gmail.com>2020-06-25 17:17:57 (GMT)
committerGitHub <noreply@github.com>2020-06-25 17:17:57 (GMT)
commit847f94f47b104aec678d1d2a2d8fe23d817f375e (patch)
tree3b247098fefe734937e9ed4e5a7388ab4da5c284 /Lib/test/test_readline.py
parent700cfa8c90a90016638bac13c4efd03786b2b2a0 (diff)
downloadcpython-847f94f47b104aec678d1d2a2d8fe23d817f375e.zip
cpython-847f94f47b104aec678d1d2a2d8fe23d817f375e.tar.gz
cpython-847f94f47b104aec678d1d2a2d8fe23d817f375e.tar.bz2
bpo-40275: Use new test.support helper submodules in tests (GH-21151)
Use new test.support helper submodules in tests: * distutils tests * test_buffer * test_compile * test_filecmp * test_fileinput * test_readline * test_smtpnet * test_structmembers * test_tools
Diffstat (limited to 'Lib/test/test_readline.py')
-rw-r--r--Lib/test/test_readline.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/Lib/test/test_readline.py b/Lib/test/test_readline.py
index 67ee9b7..de573be 100644
--- a/Lib/test/test_readline.py
+++ b/Lib/test/test_readline.py
@@ -10,7 +10,9 @@ import subprocess
import sys
import tempfile
import unittest
-from test.support import import_module, unlink, temp_dir, TESTFN, verbose
+from test.support import verbose
+from test.support.import_helper import import_module
+from test.support.os_helper import unlink, temp_dir, TESTFN
from test.support.script_helper import assert_python_ok
# Skip tests if there is no readline module