Skip to content

Commit 68c76d9

Browse files
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
1 parent a4aa52d commit 68c76d9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Lib/test/test_embed.py

-2
Original file line numberDiff line numberDiff line change
@@ -1247,8 +1247,6 @@ def test_init_setpythonhome(self):
12471247
'stdlib_dir': stdlib,
12481248
}
12491249
self.default_program_name(config)
1250-
if not config['executable']:
1251-
config['use_frozen_modules'] = -1
12521250
env = {'TESTHOME': home, 'PYTHONPATH': paths_str}
12531251
self.check_all_configs("test_init_setpythonhome", config,
12541252
api=API_COMPAT, env=env)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
We always expect the "use_frozen_modules" config to be set, now that
2+
getpath.c was rewritten in pure Python and the logic improved.

0 commit comments

Comments
 (0)