[Zodb-checkins] CVS: ZODB3/ZODB/tests - testTimeStamp.py:1.4.36.3

Tim Peters tim.one at comcast.net
Mon Jul 7 18:06:49 EDT 2003


Update of /cvs-repository/ZODB3/ZODB/tests
In directory cvs.zope.org:/tmp/cvs-serv19279/ZODB/tests

Modified Files:
      Tag: zodb33-devel-branch
	testTimeStamp.py 
Log Message:
Give the timestamp type a str() method.
Remove the test that insists both .second() and .seconds() exist, and
are aliases -- TOOWTDI, and no other component accessor here has two
spellings.


=== ZODB3/ZODB/tests/testTimeStamp.py 1.4.36.2 => 1.4.36.3 ===
--- ZODB3/ZODB/tests/testTimeStamp.py:1.4.36.2	Tue Jul  1 16:57:20 2003
+++ ZODB3/ZODB/tests/testTimeStamp.py	Mon Jul  7 17:06:43 2003
@@ -106,7 +106,6 @@
         self.assertEquals(t.hour(), 10)
         self.assertEquals(t.minute(), 48)
         self.assertEquals(round(t.second()), 5)
-        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')




More information about the Zodb-checkins mailing list