pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/python/cpython/pull/128545/files

"https://github.githubassets.com/assets/primer-primitives-10bf9dd67e3d70bd.css" /> gh-127146: Fix test_sysconfidata_json in Emscripten by hoodmane · Pull Request #128545 · python/cpython · GitHub
Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions Lib/test/test_sysconfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
is_android,
is_apple_mobile,
is_wasi,
is_emscripten,
PythonSymlink,
requires_subprocess,
)
Expand Down Expand Up @@ -651,9 +652,13 @@ 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)
ignore_keys = ('projectbase', 'srcdir')
if is_emscripten:
ignore_keys += ("exec_prefix", "installed_base", "installed_platbase", "prefix", "platbase", "userbase")

for key in ignore_keys:
json_config_vars.pop(key, None)
system_config_vars.pop(key, None)

self.assertEqual(system_config_vars, json_config_vars)

Expand Down
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

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