Skip to content

Commit 7b424eb

Browse files
committed
pythongh-127146: Don't compare userbase in test_sysconfig_json
1 parent 72c06e0 commit 7b424eb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Lib/test/test_sysconfig.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -651,9 +651,9 @@ def test_sysconfigdata_json(self):
651651
system_config_vars = get_config_vars()
652652

653653
# Ignore keys in the check
654-
for key in ('projectbase', 'srcdir'):
655-
json_config_vars.pop(key)
656-
system_config_vars.pop(key)
654+
for key in ('projectbase', 'srcdir', 'userbase'):
655+
json_config_vars.pop(key, None)
656+
system_config_vars.pop(key, None)
657657

658658
self.assertEqual(system_config_vars, json_config_vars)
659659

0 commit comments

Comments
 (0)