summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_faulthandler.py
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2021-01-25 22:12:50 (GMT)
committerGitHub <noreply@github.com>2021-01-25 22:12:50 (GMT)
commit9852cb38112a4f8d11e26c3423643ea994d5a14f (patch)
treed211a0c20d5da15318ce1cc1fa1ab87f544749e3 /Lib/test/test_faulthandler.py
parent501d4a51e32c7bbba255598adc307660b5af891a (diff)
downloadcpython-9852cb38112a4f8d11e26c3423643ea994d5a14f.zip
cpython-9852cb38112a4f8d11e26c3423643ea994d5a14f.tar.gz
cpython-9852cb38112a4f8d11e26c3423643ea994d5a14f.tar.bz2
bpo-42955: Rename module_names to sys.stdlib_module_names (GH-24332)
* Rename _Py_module_names to _Py_stdlib_module_names. * Rename Python/module_names.h to Python/stdlib_module_names.h.
Diffstat (limited to 'Lib/test/test_faulthandler.py')
-rw-r--r--Lib/test/test_faulthandler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_faulthandler.py b/Lib/test/test_faulthandler.py
index 02077a6..6486244 100644
--- a/Lib/test/test_faulthandler.py
+++ b/Lib/test/test_faulthandler.py
@@ -336,7 +336,7 @@ class FaultHandlerTests(unittest.TestCase):
import faulthandler
import sys
# Don't filter stdlib module names
- sys.module_names = frozenset()
+ sys.stdlib_module_names = frozenset()
faulthandler.enable()
faulthandler._sigsegv()
"""