diff options
| author | Brett Cannon <bcannon@gmail.com> | 2009-04-01 20:01:47 +0000 |
|---|---|---|
| committer | Brett Cannon <bcannon@gmail.com> | 2009-04-01 20:01:47 +0000 |
| commit | df8709d7b141c334ebacbf0e4380de7fd90d1276 (patch) | |
| tree | be5accd39de6a72431b77033a61605a3d49aa7fd /Lib/test/test_warnings.py | |
| parent | 3f10a952f6056b6797e4187bcfa1a97c21d1b3bb (diff) | |
| download | cpython-git-df8709d7b141c334ebacbf0e4380de7fd90d1276.tar.gz | |
Merged revisions 70975 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r70975 | brett.cannon | 2009-04-01 12:57:10 -0700 (Wed, 01 Apr 2009) | 4 lines
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 'Lib/test/test_warnings.py')
0 files changed, 0 insertions, 0 deletions
