[Zope3-checkins] CVS: Zope3/src/datetime/tests - test_datetime.py:1.25
Tim Peters
tim.one@comcast.net
Fri, 24 Jan 2003 14:09:28 -0500
Update of /cvs-repository/Zope3/src/datetime/tests
In directory cvs.zope.org:/tmp/cvs-serv10162/src/datetime/tests
Modified Files:
test_datetime.py
Log Message:
Typo repair.
=== Zope3/src/datetime/tests/test_datetime.py 1.24 => 1.25 ===
--- Zope3/src/datetime/tests/test_datetime.py:1.24 Fri Jan 24 14:05:25 2003
+++ Zope3/src/datetime/tests/test_datetime.py Fri Jan 24 14:09:26 2003
@@ -898,8 +898,9 @@
self.assertRaises(TypeError, cmp, our, their)
self.assertEqual(cmp(their, our), 0)
- # But date and datetime comparison aise NotImplemented instead if the
- # other object has a timetuple attr.
+ # But date and datetime comparison return NotImplemented instead if the
+ # other object has a timetuple attr. This gives the other object a
+ # chance to do the comparison.
class Comparable(AnotherDateTimeClass):
def timetuple(self):
return ()