Skip to content

Commit

Permalink
bpo-46263: Do not ever expect "use_frozen_modules" to be -1. (gh-30438)
Browse files Browse the repository at this point in the history
The condition is no longer valid.  This should resolve the buildbot failure on FreeBSD.

https://bugs.python.org/issue46263
  • Loading branch information
ericsnowcurrently authored Jan 6, 2022
1 parent a4aa52d commit 68c76d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Lib/test/test_embed.py
Original file line number Diff line number Diff line change
Expand Up @@ -1247,8 +1247,6 @@ def test_init_setpythonhome(self):
'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)
Expand Down
Original file line number Diff line number Diff line change
@@ -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.

0 comments on commit 68c76d9

Please sign in to comment.