]> granicus.if.org Git - python/commit
Make packaging.tests.support.LoggingCatcher.get_logs flush the log handler.
authorÉric Araujo <merwok@netwok.org>
Thu, 2 Jun 2011 12:53:59 +0000 (14:53 +0200)
committerÉric Araujo <merwok@netwok.org>
Thu, 2 Jun 2011 12:53:59 +0000 (14:53 +0200)
commit78af7d8392b5671f6877b259df34c36b884dc103
treed5ff0e1fec689fb7981062dbbafddea48cb0b745
parent5da37be7f25f07a48229dd1d409447c3ffbf3952
Make packaging.tests.support.LoggingCatcher.get_logs flush the log handler.

This removes the need to call flush manually in each test, except when
testing code that creates warning without checking them.
Lib/packaging/tests/support.py
Lib/packaging/tests/test_command_check.py
Lib/packaging/tests/test_manifest.py