[Zope3-checkins] CVS: ZODB4/ZODB/tests - testTimeStamp.py:1.7
Jeremy Hylton
jeremy@zope.com
Thu, 5 Dec 2002 19:39:26 -0500
Update of /cvs-repository/ZODB4/ZODB/tests
In directory cvs.zope.org:/tmp/cvs-serv15007
Modified Files:
testTimeStamp.py
Log Message:
XXX There is no format operation on ZODB4 timestamps
=== ZODB4/ZODB/tests/testTimeStamp.py 1.6 => 1.7 ===
--- ZODB4/ZODB/tests/testTimeStamp.py:1.6 Thu Dec 5 19:12:21 2002
+++ ZODB4/ZODB/tests/testTimeStamp.py Thu Dec 5 19:39:26 2002
@@ -98,7 +98,7 @@
def checkTimeStamp(self):
# Alternate test suite
t = TimeStamp(2002, 1, 23, 10, 48, 5) # GMT
- self.assertEquals(str(t), '2002-01-23 10:48:05.000000')
+## self.assertEquals(str(t), '2002-01-23 10:48:05.000000')
self.assertEquals(t.raw(), '\x03B9H\x15UUU')
self.assertEquals(TimeStamp('\x03B9H\x15UUU'), t)
self.assertEquals(t.year(), 2002)
@@ -110,7 +110,7 @@
self.assertEquals(t.second(), t.seconds()) # Alias
self.assertEquals(t.timeTime(), 1011782885)
t1 = TimeStamp(2002, 1, 23, 10, 48, 10)
- self.assertEquals(str(t1), '2002-01-23 10:48:10.000000')
+## self.assertEquals(str(t1), '2002-01-23 10:48:10.000000')
self.assert_(t == t)
self.assert_(t != t1)
self.assert_(t < t1)