[Python-checkins] r46984 - python/trunk/Lib/test/test_zipfile64.py

tim.peters python-checkins at python.org
Thu Jun 15 20:38:19 CEST 2006


Author: tim.peters
Date: Thu Jun 15 20:38:19 2006
New Revision: 46984

Modified:
   python/trunk/Lib/test/test_zipfile64.py
Log:
Oops -- I introduced an off-by-6436159488 error.


Modified: python/trunk/Lib/test/test_zipfile64.py
==============================================================================
--- python/trunk/Lib/test/test_zipfile64.py	(original)
+++ python/trunk/Lib/test/test_zipfile64.py	Thu Jun 15 20:38:19 2006
@@ -46,7 +46,7 @@
 
         # It will contain enough copies of self.data to reach about 6GB of
         # raw data to store.
-        filecount = 6*1024**2 // len(self.data)
+        filecount = 6*1024**3 // len(self.data)
 
         next_time = time.time() + _PRINT_WORKING_MSG_INTERVAL
         for num in range(filecount):


More information about the Python-checkins mailing list