summaryrefslogtreecommitdiff
path: root/Python/errors.c
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2009-04-01 19:57:10 +0000
committerBrett Cannon <bcannon@gmail.com>2009-04-01 19:57:10 +0000
commit2da4d628a5100627876a55e6a911d59570cd8c69 (patch)
tree15deb3c743d5d2f5913ecac815d68b171823811c /Python/errors.c
parent66c4a6b51cea40215e8f61e1abe2e3d89c4aeb1e (diff)
downloadcpython-git-2da4d628a5100627876a55e6a911d59570cd8c69.tar.gz
test_logging was blindly clearing the warnings filter. This caused
PendingDeprecationWarnings to be spewed all over by unittest.failIf*(). Fix moves over to using warnings.catch_warning to protect the warnings filter.
Diffstat (limited to 'Python/errors.c')
0 files changed, 0 insertions, 0 deletions