]> granicus.if.org Git - python/commit
bpo-30812: Fix test_warnings, restore _showwarnmsg (#2504) (#2507)
authorVictor Stinner <victor.stinner@gmail.com>
Fri, 30 Jun 2017 11:12:12 +0000 (13:12 +0200)
committerGitHub <noreply@github.com>
Fri, 30 Jun 2017 11:12:12 +0000 (13:12 +0200)
commitd0aac5da59b1bbd113e6081d7c807ad5bced8a05
tree26d40e2ba7133b9f63b03b985a9bfdd27dac5528
parent6f3cb059fd1f3a57ffd70c9d54a394a85a6ea13d
bpo-30812: Fix test_warnings, restore _showwarnmsg (#2504) (#2507)

bpo-26568, bpo-30812: Fix test_showwarnmsg_missing(): restore the
attribute after removing it.
(cherry picked from commit 7eebeb8fb84e2a9cb73903a08c59cf1d3b32cee0)
Lib/test/test_warnings/__init__.py