[Checkins] SVN:	ZConfig/branches/matt-python-2.6/ZConfig/components/logger/tests/test_logger.py	Reverted change due to wrong version of 2.5 Python.
    matt@zope.com 
    cvs-admin at zope.org
       
    Fri Nov 21 16:38:26 EST 2008
    
    
  
Log message for revision 93251:
  Reverted change due to wrong version of 2.5 Python.
  
Changed:
  U   ZConfig/branches/matt-python-2.6/ZConfig/components/logger/tests/test_logger.py
-=-
Modified: ZConfig/branches/matt-python-2.6/ZConfig/components/logger/tests/test_logger.py
===================================================================
--- ZConfig/branches/matt-python-2.6/ZConfig/components/logger/tests/test_logger.py	2008-11-21 21:11:09 UTC (rev 93250)
+++ ZConfig/branches/matt-python-2.6/ZConfig/components/logger/tests/test_logger.py	2008-11-21 21:38:26 UTC (rev 93251)
@@ -369,12 +369,8 @@
     def test_filehandler_reopen(self):
 
         def mkrecord(msg):
-            if sys.version_info[:2] == (2, 5):
-                return logging.LogRecord(
-                    "foo.bar", logging.ERROR, __file__, 42, msg, (), (), ())
-            else:
-                return logging.LogRecord(
-                    "foo.bar", logging.ERROR, __file__, 42, msg, (), ())
+            return logging.LogRecord(
+                "foo.bar", logging.ERROR, __file__, 42, msg, (), ())
 
 
         # This goes through the reopening operation *twice* to make
    
    
More information about the Checkins
mailing list