diff options
author | Eric Snow <ericsnowcurrently@gmail.com> | 2022-01-06 18:56:13 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-06 18:56:13 (GMT) |
commit | 68c76d9766cccb5fd992b0ac4b39645d9665dbe2 (patch) | |
tree | b7083bbee34b4641fadb93e3313d5e3a818d7e55 | |
parent | a4aa52dc2801d25b6343fe2ef8de7f40ea3bc883 (diff) | |
download | cpython-68c76d9766cccb5fd992b0ac4b39645d9665dbe2.zip cpython-68c76d9766cccb5fd992b0ac4b39645d9665dbe2.tar.gz cpython-68c76d9766cccb5fd992b0ac4b39645d9665dbe2.tar.bz2 |
bpo-46263: Do not ever expect "use_frozen_modules" to be -1. (gh-30438)
The condition is no longer valid. This should resolve the buildbot failure on FreeBSD.
https://bugs.python.org/issue46263
-rw-r--r-- | Lib/test/test_embed.py | 2 | ||||
-rw-r--r-- | Misc/NEWS.d/next/Core and Builtins/2022-01-06-10-54-07.bpo-46263.60dRZb.rst | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_embed.py b/Lib/test/test_embed.py index 8799524..dd43669 100644 --- a/Lib/test/test_embed.py +++ b/Lib/test/test_embed.py @@ -1247,8 +1247,6 @@ class InitConfigTests(EmbeddingTestsMixin, unittest.TestCase): 'stdlib_dir': stdlib, } self.default_program_name(config) - if not config['executable']: - config['use_frozen_modules'] = -1 env = {'TESTHOME': home, 'PYTHONPATH': paths_str} self.check_all_configs("test_init_setpythonhome", config, api=API_COMPAT, env=env) diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-01-06-10-54-07.bpo-46263.60dRZb.rst b/Misc/NEWS.d/next/Core and Builtins/2022-01-06-10-54-07.bpo-46263.60dRZb.rst new file mode 100644 index 0000000..fdcfe50 --- /dev/null +++ b/Misc/NEWS.d/next/Core and Builtins/2022-01-06-10-54-07.bpo-46263.60dRZb.rst @@ -0,0 +1,2 @@ +We always expect the "use_frozen_modules" config to be set, now that +getpath.c was rewritten in pure Python and the logic improved. |