summaryrefslogtreecommitdiffstats
path: root/Lib/test/_test_embed_set_config.py
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2021-12-02 10:43:37 (GMT)
committerGitHub <noreply@github.com>2021-12-02 10:43:37 (GMT)
commita6c3b0faa1d55e36539caf19bd3bcf1dea12df84 (patch)
tree806b78a43fe43b90a490d8a0abcba622352768ac /Lib/test/_test_embed_set_config.py
parentcb2b3c8d3566ae46b3b8d0718019e1c98484589e (diff)
downloadcpython-a6c3b0faa1d55e36539caf19bd3bcf1dea12df84.zip
cpython-a6c3b0faa1d55e36539caf19bd3bcf1dea12df84.tar.gz
cpython-a6c3b0faa1d55e36539caf19bd3bcf1dea12df84.tar.bz2
bpo-45954: Rename PyConfig.no_debug_ranges to code_debug_ranges (GH-29886)
Rename PyConfig.no_debug_ranges to PyConfig.code_debug_ranges and invert the value. Document -X no_debug_ranges and PYTHONNODEBUGRANGES env var in PyConfig.code_debug_ranges documentation.
Diffstat (limited to 'Lib/test/_test_embed_set_config.py')
-rw-r--r--Lib/test/_test_embed_set_config.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/_test_embed_set_config.py b/Lib/test/_test_embed_set_config.py
index 23c927e..d05907e 100644
--- a/Lib/test/_test_embed_set_config.py
+++ b/Lib/test/_test_embed_set_config.py
@@ -1,7 +1,7 @@
# bpo-42260: Test _PyInterpreterState_GetConfigCopy()
# and _PyInterpreterState_SetConfig().
#
-# Test run in a subinterpreter since set_config(get_config())
+# Test run in a subprocess since set_config(get_config())
# does reset sys attributes to their state of the Python startup
# (before the site module is run).
@@ -61,7 +61,7 @@ class SetConfigTests(unittest.TestCase):
'faulthandler',
'tracemalloc',
'import_time',
- 'no_debug_ranges',
+ 'code_debug_ranges',
'show_ref_count',
'dump_refs',
'malloc_stats',