mirror of
https://github.com/google/brotli.git
synced 2024-11-21 19:20:09 +00:00
parent
a238f5bac9
commit
2c03482569
@ -17,6 +17,9 @@ class _TestCompressor(object):
|
||||
|
||||
CHUNK_SIZE = 2048
|
||||
|
||||
def tearDown(self):
|
||||
self.compressor = None
|
||||
|
||||
def _check_decompression(self, test_data):
|
||||
# Write decompression to temp file and verify it matches the original.
|
||||
temp_uncompressed = _test_utils.get_temp_uncompressed_name(test_data)
|
||||
|
@ -21,6 +21,9 @@ class TestDecompressor(_test_utils.TestCase):
|
||||
def setUp(self):
|
||||
self.decompressor = brotli.Decompressor()
|
||||
|
||||
def tearDown(self):
|
||||
self.decompressor = None
|
||||
|
||||
def _check_decompression(self, test_data):
|
||||
# Verify decompression matches the original.
|
||||
temp_uncompressed = _test_utils.get_temp_uncompressed_name(test_data)
|
||||
|
Loading…
Reference in New Issue
Block a user