commit | df8709d7b141c334ebacbf0e4380de7fd90d1276 | [log] [tgz] |
---|---|---|
author | Brett Cannon <bcannon@gmail.com> | Wed Apr 01 20:01:47 2009 +0000 |
committer | Brett Cannon <bcannon@gmail.com> | Wed Apr 01 20:01:47 2009 +0000 |
tree | be5accd39de6a72431b77033a61605a3d49aa7fd | |
parent | 3f10a952f6056b6797e4187bcfa1a97c21d1b3bb [diff] |
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. ........