There was an error while loading. Please reload this page.
1 parent 3a8cefb commit e7980baCopy full SHA for e7980ba
2 files changed
Lib/test/test_sysconfig.py
@@ -643,7 +643,8 @@ def test_sysconfigdata_json(self):
643
644
system_config_vars = get_config_vars()
645
646
- ignore_keys = set()
+ # Keys dependent on uncontrollable external context
647
+ ignore_keys = {'userbase'}
648
# Keys dependent on Python being run outside the build directrory
649
if sysconfig.is_python_build():
650
ignore_keys |= {'srcdir'}
Misc/NEWS.d/next/Library/2024-12-18-15-51-09.gh-issue-128055.0c_Noq.rst
@@ -0,0 +1,2 @@
1
+Fix ``test.test_sysconfig.test_sysconfigdata_json`` when running outside
2
+the build directory (eg. after installing).
0 commit comments