Skip to content

Commit

Permalink
pythonGH-128055: fix test_sysconfigdata_json outside the builddir
Browse files Browse the repository at this point in the history
Signed-off-by: Filipe Laíns <[email protected]
  • Loading branch information
FFY00 committed Dec 18, 2024
1 parent f802c8b commit 07c0b43
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/test/test_sysconfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,7 @@ def test_sysconfigdata_json(self):
system_config_vars = get_config_vars()

# Ignore keys in the check
for key in ('projectbase', 'srcdir'):
for key in ('projectbase', 'userbase', 'srcdir'):
json_config_vars.pop(key)
system_config_vars.pop(key)

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Fix :meth:`test.test_sysconfig.test_sysconfigdata_json` when running outside
the build directory (eg. after installing).

0 comments on commit 07c0b43

Please sign in to comment.