[Zodb-checkins]
CVS: Zope/lib/python/ZConfig/components/logger/tests
- test_logger.py:1.3
Fred L. Drake, Jr.
fred at zope.com
Thu Apr 22 15:58:31 EDT 2004
Update of /cvs-repository/Zope/lib/python/ZConfig/components/logger/tests
In directory cvs.zope.org:/tmp/cvs-serv24143
Modified Files:
test_logger.py
Log Message:
fix the tests now that the logger factories are not expected to remove
any existing log handlers
=== Zope/lib/python/ZConfig/components/logger/tests/test_logger.py 1.2 => 1.3 ===
--- Zope/lib/python/ZConfig/components/logger/tests/test_logger.py:1.2 Fri Apr 9 17:21:59 2004
+++ Zope/lib/python/ZConfig/components/logger/tests/test_logger.py Thu Apr 22 15:58:27 2004
@@ -36,7 +36,7 @@
self._old_logger = logging.getLogger()
self._old_level = self._old_logger.level
self._old_handlers = self._old_logger.handlers[:]
- self._old_logger.handlers[:] = [loghandler.NullHandler()]
+ self._old_logger.handlers[:] = []
self._old_logger.setLevel(logging.WARN)
def tearDown(self):
More information about the Zodb-checkins
mailing list