bpo-45019: Clean up the frozen __hello__ module. (gh-28374)

Here's one more small cleanup that should have been in PR gh-28319. We eliminate stdout side-effects from importing the frozen __hello__ module, and update tests accordingly. We also move the module's source file into Lib/ from Toos/freeze/flag.py.

https://bugs.python.org/issue45019
This commit is contained in:
Eric Snow 2021-09-15 14:15:32 -06:00 committed by GitHub
parent d081eab7df
commit 3814e2036d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 76 additions and 50 deletions

View file

@ -7,7 +7,7 @@ import importlib.util
import unittest
import sys
from ctypes import *
from test.support import import_helper, captured_stdout
from test.support import import_helper
import _ctypes_test