Closed roganov closed 3 years ago
Documentation says that Compressor.flush emits all remaining data, but in fact it does not. This fails
Compressor.flush
bc = brotli.Compressor() assert bc.compress(b'Time to Relax!') + bc.flush() == brotli.compress(b'Time to Relax!')
This passes
bc = brotli.Compressor() assert bc.compress(b'Time to Relax!') + bc.finish() == brotli.compress(b'Time to Relax!')
Closing this as I believe it is solved in 1.0.9.x
Documentation says that
Compressor.flush
emits all remaining data, but in fact it does not. This failsThis passes