]> granicus.if.org Git - python/commit
bpo-33509: Fix test_warnings for python3 -Werror (GH-7365)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 4 Jun 2018 17:23:41 +0000 (10:23 -0700)
committerGitHub <noreply@github.com>
Mon, 4 Jun 2018 17:23:41 +0000 (10:23 -0700)
commitd2c6ecc234e705b60cbcbb9dd4c99022407d0dd0
tree038002efe46266ea0d3383fe9aa15dc8111b8c0a
parent1cdd0e71ecba53ab60080958c24193c27c3adee2
bpo-33509: Fix test_warnings for python3 -Werror (GH-7365)

Fix test_warnings.test_module_globals() when python3 is run with
-Werror.
(cherry picked from commit e292b75e3ecdc6bbe81cda09de836dc9e27ab9e6)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
Lib/test/test_warnings/__init__.py