[Zope3-checkins] CVS: ZODB4/ZODB/tests - testTimeStamp.py:1.6

Jeremy Hylton jeremy@zope.com
Thu, 5 Dec 2002 19:12:21 -0500


Update of /cvs-repository/ZODB4/ZODB/tests
In directory cvs.zope.org:/tmp/cvs-serv8572

Modified Files:
	testTimeStamp.py 
Log Message:
Oops!  Change repr() to .raw().


=== ZODB4/ZODB/tests/testTimeStamp.py 1.5 => 1.6 ===
--- ZODB4/ZODB/tests/testTimeStamp.py:1.5	Thu Dec  5 19:01:29 2002
+++ ZODB4/ZODB/tests/testTimeStamp.py	Thu Dec  5 19:12:21 2002
@@ -99,7 +99,7 @@
         # 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(repr(t), '\x03B9H\x15UUU')
+        self.assertEquals(t.raw(), '\x03B9H\x15UUU')
         self.assertEquals(TimeStamp('\x03B9H\x15UUU'), t)
         self.assertEquals(t.year(), 2002)
         self.assertEquals(t.month(), 1)