[Zope-Checkins] CVS: Zope/lib/python/DateTime/tests - testDateTime.py:1.12
Martijn Pieters
mj@zope.com
Wed, 14 Aug 2002 17:33:51 -0400
Update of /cvs-repository/Zope/lib/python/DateTime/tests
In directory cvs.zope.org:/tmp/cvs-serv13653/tests
Modified Files:
testDateTime.py
Log Message:
Clean up indentation and trailing whitespace.
=== Zope/lib/python/DateTime/tests/testDateTime.py 1.11 => 1.12 ===
--- Zope/lib/python/DateTime/tests/testDateTime.py:1.11 Tue Mar 5 09:48:40 2002
+++ Zope/lib/python/DateTime/tests/testDateTime.py Wed Aug 14 17:33:49 2002
@@ -1,4 +1,3 @@
-
# To run these tests, use:
# python unittest.py DateTime.tests.suite
@@ -95,7 +94,7 @@
# Compare representations as it's the
# only way to compare the dates to the same accuracy
self.assertEqual(repr(dt),repr(dt1))
-
+
def testDayOfWeek(self):
'''strftime() used to always be passed a day of week of 0.'''
dt = DateTime('2000/6/16')
@@ -231,7 +230,7 @@
lines = gzip.GzipFile(os.path.join(__basedir__,
'julian_testdata.txt.gz')).readlines()
-
+
for line in lines:
d = DateTime(line[:10])
result_from_mx=tuple(map(int, line[12:-2].split(',')))
@@ -242,4 +241,4 @@
return unittest.makeSuite(DateTimeTests)
if __name__=="__main__":
- unittest.TextTestRunner().run(test_suite())
+ unittest.TextTestRunner().run(test_suite())