[Checkins] SVN: DateTime/trunk/src/DateTime/tests/testDateTime.py pep8
Hano Schlichting
cvs-admin at zope.org
Fri Aug 10 20:53:43 UTC 2012
Log message for revision 127465:
pep8
Changed:
U DateTime/trunk/src/DateTime/tests/testDateTime.py
-=-
Modified: DateTime/trunk/src/DateTime/tests/testDateTime.py
===================================================================
--- DateTime/trunk/src/DateTime/tests/testDateTime.py 2012-08-10 16:46:46 UTC (rev 127464)
+++ DateTime/trunk/src/DateTime/tests/testDateTime.py 2012-08-10 20:53:39 UTC (rev 127465)
@@ -491,22 +491,22 @@
self.assertEqual(int(times[0]), dt.h_24())
self.assertEqual(int(times[1]), dt.minute())
self.assertEqual(int(times[2]), int(dt.second()))
- self.assertEqual(dts[5], "%+03d%02d" % divmod( (-offset/60), 60) )
+ self.assertEqual(dts[5], "%+03d%02d" % divmod((-offset / 60), 60))
def testInternationalDateformat(self):
for year in (1990, 2001, 2020):
for month in (1, 12):
for day in (1, 12, 28, 31):
try:
- d_us = DateTime("%d/%d/%d" % (year,month,day))
+ d_us = DateTime("%d/%d/%d" % (year, month, day))
except Exception:
continue
- d_int = DateTime("%d.%d.%d" % (day,month,year),
+ 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),
+ d_int = DateTime("%d/%d/%d" % (day, month, year),
datefmt="international")
self.assertEqual(d_us, d_int)
More information about the checkins
mailing list