diff --git a/Lib/test/test_sysconfig.py b/Lib/test/test_sysconfig.py index 1002d90074599a..a1d38a80232ab8 100644 --- a/Lib/test/test_sysconfig.py +++ b/Lib/test/test_sysconfig.py @@ -651,9 +651,9 @@ def test_sysconfigdata_json(self): system_config_vars = get_config_vars() # Ignore keys in the check - for key in ('projectbase', 'srcdir'): - json_config_vars.pop(key) - system_config_vars.pop(key) + for key in ('projectbase', 'srcdir', 'userbase'): + json_config_vars.pop(key, None) + system_config_vars.pop(key, None) self.assertEqual(system_config_vars, json_config_vars)
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: