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
This commit is contained in:
Eric Snow 2022-01-06 11:56:13 -07:00 committed by GitHub
parent a4aa52dc28
commit 68c76d9766
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -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)

View file

@ -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.