mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
gh-117786: Fix venv created from Windows Store install by restoring __PYVENV_LAUNCHER__ smuggling (GH-117814)
This commit is contained in:
parent
8942bf41da
commit
4b10e209c7
4 changed files with 21 additions and 12 deletions
|
@ -747,6 +747,9 @@ class InitConfigTests(EmbeddingTestsMixin, unittest.TestCase):
|
|||
if value is self.IGNORE_CONFIG:
|
||||
config.pop(key, None)
|
||||
del expected[key]
|
||||
# Resolve bool/int mismatches to reduce noise in diffs
|
||||
if isinstance(value, (bool, int)) and isinstance(config.get(key), (bool, int)):
|
||||
expected[key] = type(config[key])(expected[key])
|
||||
self.assertEqual(config, expected)
|
||||
|
||||
def check_global_config(self, configs):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue