summaryrefslogtreecommitdiffstats
path: root/Lib/__phello__/spam.py
diff options
context:
space:
mode:
authorEric Snow <ericsnowcurrently@gmail.com>2021-10-01 00:38:52 (GMT)
committerGitHub <noreply@github.com>2021-10-01 00:38:52 (GMT)
commit7e5c107541726b90d3f2e6e69ef37180cf58335d (patch)
treea6f6a4000b9217be777e8f680e0ec9c2f107eaf3 /Lib/__phello__/spam.py
parentec4d917a6a68824f1895f75d113add9410283da7 (diff)
downloadcpython-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.py7
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()