From 145549f177cbada5327f6314e628c80d56144a2b Mon Sep 17 00:00:00 2001 From: Hood Chatham Date: Tue, 28 Jan 2025 22:00:51 +0100 Subject: [PATCH] gh-127146: Don't compare userbase in test_sysconfig_json --- Lib/test/test_sysconfig.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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) pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

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:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy