bpo-35233: Fix _PyMainInterpreterConfig_Copy() (GH-10537)
Fix _PyMainInterpreterConfig_Copy(): copy 'install_signal_handlers'
attribute
diff --git a/Lib/test/test_embed.py b/Lib/test/test_embed.py
index 62a20ab..856116f 100644
--- a/Lib/test/test_embed.py
+++ b/Lib/test/test_embed.py
@@ -267,7 +267,6 @@
)
# FIXME: untested main configuration variables
UNTESTED_MAIN_CONFIG = (
- 'install_signal_handlers',
'module_search_path',
)
DEFAULT_GLOBAL_CONFIG = {
@@ -363,6 +362,7 @@
del main_config[key]
expected_main = {
+ 'install_signal_handlers': core_config['install_signal_handlers'],
'argv': [],
'prefix': sys.prefix,
'executable': core_config['executable'],