Skip to content

Commit abdcace

Browse files
committed
Fix small mistake in test
1 parent 27c8b39 commit abdcace

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_zlib_compliance.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ def test_decompimax(self, source=None, cx=256, dcx=64):
382382
dco = isal_zlib.decompressobj()
383383
bufs = []
384384
cb = combuf
385-
while cb:
385+
while not dco.eof:
386386
#max_length = 1 + len(cb)//10
387387
chunk = dco.decompress(cb, dcx)
388388
self.assertFalse(len(chunk) > dcx,

0 commit comments

Comments
 (0)