summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2019-04-18 09:37:26 (GMT)
committerGitHub <noreply@github.com>2019-04-18 09:37:26 (GMT)
commit23bace26ec265557697cf3b578b361c178070cd5 (patch)
tree41d99b73d99a1f8295ed6177113ed7796c8ed784 /Lib
parent11efd79076559cc6e4034bb36db73e5e4293f02d (diff)
downloadcpython-23bace26ec265557697cf3b578b361c178070cd5.zip
cpython-23bace26ec265557697cf3b578b361c178070cd5.tar.gz
cpython-23bace26ec265557697cf3b578b361c178070cd5.tar.bz2
bpo-36635: Add _testinternalcapi module (GH-12841)
Add a new _testinternalcapi module to test the internal C API. Move _Py_GetConfigsAsDict() function to the internal C API: _testembed now uses _testinternalcapi to access the function.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/pythoninfo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/pythoninfo.py b/Lib/test/pythoninfo.py
index 79f7e82..19f274a 100644
--- a/Lib/test/pythoninfo.py
+++ b/Lib/test/pythoninfo.py
@@ -598,7 +598,7 @@ def collect_get_config(info_add):
# Dump global configuration variables, _PyCoreConfig
# and _PyMainInterpreterConfig
try:
- from _testcapi import get_configs
+ from _testinternalcapi import get_configs
except ImportError:
return