summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_importlib/util.py
diff options
context:
space:
mode:
authorEric Snow <ericsnowcurrently@gmail.com>2022-11-08 16:58:11 (GMT)
committerGitHub <noreply@github.com>2022-11-08 16:58:11 (GMT)
commitd45cc80452b11d5ffc5c9721f74a3e3df8ecad8b (patch)
treea68aceaa899e2d1404b4f5d8d747bb7a3023ce7b /Lib/test/test_importlib/util.py
parent4d5fcca273b24a5566f1507758e5aae60cdf8a98 (diff)
downloadcpython-d45cc80452b11d5ffc5c9721f74a3e3df8ecad8b.zip
cpython-d45cc80452b11d5ffc5c9721f74a3e3df8ecad8b.tar.gz
cpython-d45cc80452b11d5ffc5c9721f74a3e3df8ecad8b.tar.bz2
gh-98627: Add the _testsinglephase Module (gh-99039)
This makes it more clear that a given test is definitely testing against a single-phase init (legacy) extension module. The new module is a companion to _testmultiphase. https://github.com/python/cpython/issues/98627
Diffstat (limited to 'Lib/test/test_importlib/util.py')
-rw-r--r--Lib/test/test_importlib/util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_importlib/util.py b/Lib/test/test_importlib/util.py
index 0b6dcc5..9032fd1 100644
--- a/Lib/test/test_importlib/util.py
+++ b/Lib/test/test_importlib/util.py
@@ -27,7 +27,7 @@ EXTENSIONS.path = None
EXTENSIONS.ext = None
EXTENSIONS.filename = None
EXTENSIONS.file_path = None
-EXTENSIONS.name = '_testcapi'
+EXTENSIONS.name = '_testsinglephase'
def _extension_details():
global EXTENSIONS