[Zope-Checkins] CVS: Zope/lib/python/Products/PluginIndexes/DateRangeIndex/tests - test_DateRangeIndex.py:1.6

Jeremy Hylton cvs-admin at zope.org
Tue Dec 9 10:12:02 EST 2003


Update of /cvs-repository/Zope/lib/python/Products/PluginIndexes/DateRangeIndex/tests
In directory cvs.zope.org:/tmp/cvs-serv5758

Modified Files:
	test_DateRangeIndex.py 
Log Message:
silence warning about integer overflow


=== Zope/lib/python/Products/PluginIndexes/DateRangeIndex/tests/test_DateRangeIndex.py 1.5 => 1.6 ===
--- Zope/lib/python/Products/PluginIndexes/DateRangeIndex/tests/test_DateRangeIndex.py:1.5	Tue Nov  4 17:04:09 2003
+++ Zope/lib/python/Products/PluginIndexes/DateRangeIndex/tests/test_DateRangeIndex.py	Tue Dec  9 10:12:00 2003
@@ -117,7 +117,7 @@
 
     def _badlong(self):
         work = DateRangeIndex ('work', 'start', 'stop' )
-        bad = Dummy( 'bad', sys.maxint + 1, sys.maxint + 1 )
+        bad = Dummy( 'bad', long(sys.maxint) + 1, long(sys.maxint) + 1 )
         work.index_object( 0, bad )
 
 def test_suite():




More information about the Zope-Checkins mailing list