[Zope-Checkins] SVN: Zope/branches/2.9/lib/python/DateTime/tests/testDateTime.py Wrap long lines.

Tres Seaver tseaver at palladion.com
Mon May 15 19:47:19 EDT 2006


Log message for revision 68141:
  Wrap long lines.

Changed:
  U   Zope/branches/2.9/lib/python/DateTime/tests/testDateTime.py

-=-
Modified: Zope/branches/2.9/lib/python/DateTime/tests/testDateTime.py
===================================================================
--- Zope/branches/2.9/lib/python/DateTime/tests/testDateTime.py	2006-05-15 23:44:02 UTC (rev 68140)
+++ Zope/branches/2.9/lib/python/DateTime/tests/testDateTime.py	2006-05-15 23:47:19 UTC (rev 68141)
@@ -336,10 +336,12 @@
                     try: d_us = DateTime("%d/%d/%d" % (year,month,day))
                     except: continue
 
-                    d_int = DateTime("%d.%d.%d" % (day,month,year), datefmt="international")
+                    d_int = DateTime("%d.%d.%d" % (day,month,year),
+                                     datefmt="international")
                     self.assertEqual(d_us, d_int)
 
-                    d_int = DateTime("%d/%d/%d" % (day,month,year), datefmt="international")
+                    d_int = DateTime("%d/%d/%d" % (day,month,year),
+                                     datefmt="international")
                     self.assertEqual(d_us, d_int)
 
     def test_calcTimezoneName(self):
@@ -371,7 +373,8 @@
         '''Checks time zone in dates <= 1900 or >= 2038'''
         dt1 = DateTime('2040/01/30 14:33 GMT+1')
         dt2 = DateTime('2040/01/30 11:33 GMT-2')
-        self.assertEqual(dt1.strftime('%d/%m/%Y %H:%M'), dt2.strftime('%d/%m/%Y %H:%M'))
+        self.assertEqual(dt1.strftime('%d/%m/%Y %H:%M'),
+                         dt2.strftime('%d/%m/%Y %H:%M'))
 
     def testStrftimeUnicode(self):
         dt = DateTime('2002-05-02T08:00:00+00:00')



More information about the Zope-Checkins mailing list