1. Justin Peel
  2. pypy

Commits

Armin Rigo  committed d5c039d Merge

merge heads

  • Participants
  • Parent commits b9d43fd, 13c94c0
  • Branches default

Comments (0)

Files changed (1)

File pypy/module/bz2/test/test_bz2_file.py

View file
             pass
         del bz2f   # delete from this frame, which is captured in the traceback
 
-    def test_read_chunk10(self):
+    def test_read_chunk9(self):
         from bz2 import BZ2File
         self.create_temp_file()
         
         bz2f = BZ2File(self.temppath)
         text_read = ""
         while True:
-            data = bz2f.read(10)
+            data = bz2f.read(9) # 9 doesn't divide evenly into data length
             if not data:
                 break
             text_read = "%s%s" % (text_read, data)