]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-122191: Fix test_warnings failure if run with -Werror (GH-122222) (GH-122256)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 25 Jul 2024 07:28:33 +0000 (09:28 +0200)
committerGitHub <noreply@github.com>
Thu, 25 Jul 2024 07:28:33 +0000 (07:28 +0000)
commit94db4cc5e6091adc5cc896ae1f7908159be0d547
treec0e051cda47b85ea61687cf30f7fd5aa1ace4aec
parent4e7716554b3d1107f0ab201555cb4c1fefd21413
[3.13] gh-122191: Fix test_warnings failure if run with -Werror (GH-122222) (GH-122256)

__spec__.loader is now required in the module globals (see gh-86298).
(cherry picked from commit 9b4fe9b718f27352ba0c1cf1184f5b90d77d7df4)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Lib/test/test_warnings/__init__.py