]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-45020: Add more test cases for frozen modules. (gh-28664)
authorEric Snow <ericsnowcurrently@gmail.com>
Fri, 1 Oct 2021 00:38:52 +0000 (18:38 -0600)
committerGitHub <noreply@github.com>
Fri, 1 Oct 2021 00:38:52 +0000 (18:38 -0600)
commit7e5c107541726b90d3f2e6e69ef37180cf58335d
treea6f6a4000b9217be777e8f680e0ec9c2f107eaf3
parentec4d917a6a68824f1895f75d113add9410283da7
bpo-45020: Add more test cases for frozen modules. (gh-28664)

I've added a number of test-only modules. Some of those cases are covered by the recently frozen stdlib modules (and some will be once we add encodings back in). However, I figured we'd play it safe by having a set of modules guaranteed to be there during tests.

https://bugs.python.org/issue45020
13 files changed:
Lib/__phello__.foo.py [deleted file]
Lib/__phello__/__init__.py [new file with mode: 0644]
Lib/__phello__/ham/__init__.py [new file with mode: 0644]
Lib/__phello__/ham/eggs.py [new file with mode: 0644]
Lib/__phello__/spam.py [new file with mode: 0644]
Lib/test/test_frozen.py
Lib/test/test_importlib/frozen/test_finder.py
Makefile.pre.in
PCbuild/_freeze_module.vcxproj
PCbuild/_freeze_module.vcxproj.filters
Python/frozen.c
Tools/scripts/freeze_modules.py
Tools/scripts/generate_stdlib_module_names.py