[Zodb-checkins] SVN: ZODB/trunk/src/ZEO/tests/invalidation-age.txt Added some missing tear-down code.

Jim Fulton jim at zope.com
Sat Jan 3 16:47:55 EST 2009


Log message for revision 94494:
  Added some missing tear-down code.
  

Changed:
  U   ZODB/trunk/src/ZEO/tests/invalidation-age.txt

-=-
Modified: ZODB/trunk/src/ZEO/tests/invalidation-age.txt
===================================================================
--- ZODB/trunk/src/ZEO/tests/invalidation-age.txt	2009-01-03 16:45:15 UTC (rev 94493)
+++ ZODB/trunk/src/ZEO/tests/invalidation-age.txt	2009-01-03 21:47:55 UTC (rev 94494)
@@ -73,6 +73,7 @@
 turn on logging so we can see this:
 
     >>> import logging, sys
+    >>> old_logging_level = logging.getLogger().getEffectiveLevel()
     >>> logging.getLogger().setLevel(logging.INFO)
     >>> handler = logging.StreamHandler(sys.stdout)
     >>> logging.getLogger().addHandler(handler)
@@ -139,3 +140,4 @@
 
     >>> db.close()
 
+    >>> logging.getLogger().setLevel(old_logging_level)



More information about the Zodb-checkins mailing list