]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-122191: Fix test_warnings failure if run with -Werror (GH-122222) (GH-122257)
authorSerhiy Storchaka <storchaka@gmail.com>
Thu, 25 Jul 2024 07:18:57 +0000 (10:18 +0300)
committerGitHub <noreply@github.com>
Thu, 25 Jul 2024 07:18:57 +0000 (07:18 +0000)
commitbe5e229aa6cb38f8b51fcddd7f812fdca57f92b5
tree694c1673703aaebb211676f7b61b999030cec8cb
parentdd4c8aca61a90fe5d040f2a9b34b5a3f7f46ac64
[3.12] gh-122191: Fix test_warnings failure if run with -Werror (GH-122222) (GH-122257)

__spec__.loader is now required in the module globals (see gh-86298).
(cherry picked from commit 9b4fe9b718f27352ba0c1cf1184f5b90d77d7df4)
Lib/test/test_warnings/__init__.py