diff options
author | Eric Snow <ericsnowcurrently@gmail.com> | 2021-10-01 00:38:52 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-01 00:38:52 (GMT) |
commit | 7e5c107541726b90d3f2e6e69ef37180cf58335d (patch) | |
tree | a6f6a4000b9217be777e8f680e0ec9c2f107eaf3 /Lib/__phello__/spam.py | |
parent | ec4d917a6a68824f1895f75d113add9410283da7 (diff) | |
download | cpython-7e5c107541726b90d3f2e6e69ef37180cf58335d.zip cpython-7e5c107541726b90d3f2e6e69ef37180cf58335d.tar.gz cpython-7e5c107541726b90d3f2e6e69ef37180cf58335d.tar.bz2 |
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
Diffstat (limited to 'Lib/__phello__/spam.py')
-rw-r--r-- | Lib/__phello__/spam.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Lib/__phello__/spam.py b/Lib/__phello__/spam.py new file mode 100644 index 0000000..d37bd27 --- /dev/null +++ b/Lib/__phello__/spam.py @@ -0,0 +1,7 @@ +initialized = True + +def main(): + print("Hello world!") + +if __name__ == '__main__': + main() |