@@ -55,7 +55,7 @@ def test_config_get(self):
5555 ("filesystem_errors" , str , None ),
5656 ("hash_seed" , int , None ),
5757 ("home" , str | None , None ),
58- ("inherit_context " , int , None ),
58+ ("thread_inherit_context " , int , None ),
5959 ("import_time" , bool , None ),
6060 ("inspect" , bool , None ),
6161 ("install_signal_handlers" , bool , None ),
@@ -171,7 +171,7 @@ def test_config_get_sys_flags(self):
171171 ("warn_default_encoding" , "warn_default_encoding" , False ),
172172 ("safe_path" , "safe_path" , False ),
173173 ("int_max_str_digits" , "int_max_str_digits" , False ),
174- # "gil" and "inherit_context " are tested below
174+ # "gil" and "thread_inherit_context " are tested below
175175 ):
176176 with self .subTest (flag = flag , name = name , negate = negate ):
177177 value = config_get (name )
@@ -189,7 +189,7 @@ def test_config_get_sys_flags(self):
189189 self .assertEqual (sys .flags .gil , expected )
190190
191191 expected_inherit_context = 1 if support .Py_GIL_DISABLED else 0
192- self .assertEqual (sys .flags .inherit_context , expected_inherit_context )
192+ self .assertEqual (sys .flags .thread_inherit_context , expected_inherit_context )
193193
194194 def test_config_get_non_existent (self ):
195195 # Test PyConfig_Get() on non-existent option name
0 commit comments