common: share the zlib stream engine by youknowone · Pull Request #8631 · RustPython/RustPython · GitHub
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 4 additions & 36 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
2 changes: 0 additions & 2 deletions Lib/test/test_zlib.py
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,6 @@ def test_clear_unconsumed_tail(self):
ddata += dco.decompress(dco.unconsumed_tail)
self.assertEqual(dco.unconsumed_tail, b"")

@unittest.expectedFailure # TODO: RUSTPYTHON; Z_BLOCK support in flate2
def test_flushes(self):
# Test flush() with the various options, using all the
# different levels in order to provide more variations.
Expand Down Expand Up @@ -809,7 +808,6 @@ def test_large_unconsumed_tail(self, size):
finally:
comp = uncomp = data = None

@unittest.expectedFailure # TODO: RUSTPYTHON; wbits=0 support in flate2
def test_wbits(self):
# wbits=0 only supported since zlib v1.2.3.5
supports_wbits_0 = ZLIB_RUNTIME_VERSION_TUPLE >= (1, 2, 3, 5)
Expand Down
11 changes: 10 additions & 1 deletion crates/common/Cargo.toml
Loading
Loading