[Zope-Checkins]
CVS: Zope/lib/python/Products/PluginIndexes/DateRangeIndex/tests
- test_DateRangeIndex.py:1.5
Chris McDonough
cvs-admin at zope.org
Tue Nov 4 17:04:10 EST 2003
Update of /cvs-repository/Zope/lib/python/Products/PluginIndexes/DateRangeIndex/tests
In directory cvs.zope.org:/tmp/cvs-serv25897/tests
Modified Files:
test_DateRangeIndex.py
Log Message:
Raise an OverflowError to be in parity with DateIndex.
=== Zope/lib/python/Products/PluginIndexes/DateRangeIndex/tests/test_DateRangeIndex.py 1.4 => 1.5 ===
--- Zope/lib/python/Products/PluginIndexes/DateRangeIndex/tests/test_DateRangeIndex.py:1.4 Tue Nov 4 09:53:29 2003
+++ Zope/lib/python/Products/PluginIndexes/DateRangeIndex/tests/test_DateRangeIndex.py Tue Nov 4 17:04:09 2003
@@ -113,7 +113,7 @@
assert work.getEntryForObject( result ) == match.datum()
def test_longdates( self ):
- self.assertRaises(ValueError, self._badlong )
+ self.assertRaises(OverflowError, self._badlong )
def _badlong(self):
work = DateRangeIndex ('work', 'start', 'stop' )
More information about the Zope-Checkins
mailing list