Skip to content

Commit a1f74c8

Browse files
committed
Fix flush test
1 parent b52de7d commit a1f74c8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/test_zlib_compliance.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,8 @@ def test_pair(self):
260260
co = isal_zlib.compressobj()
261261
x1 = co.compress(data)
262262
x2 = co.flush()
263-
self.assertRaises(isal_zlib.error, co.flush) # second flush should not work
263+
# Flushing multiple times no problem for isa-l.
264+
# self.assertRaises(isal_zlib.error, co.flush)
264265
self.assertEqual(x1 + x2, datazip)
265266
for v1, v2 in ((x1, x2), (bytearray(x1), bytearray(x2))):
266267
dco = isal_zlib.decompressobj()

0 commit comments

Comments
 (0)