Add some explicit del statements to frame test to maybe fix memory usage
@@ -147,6 +147,10 @@ def test_roundtrip(data, block_size, block_mode,
decompressed, bytes_read = lz4frame.decompress(d_context, compressed)
assert bytes_read == len(compressed)
assert decompressed == data
+ del compressed
+ del decompressed
+ del c_context
+ del d_context
def get_chunked(data, nchunks):
size = len(data)
@@ -204,6 +208,10 @@ def test_roundtrip_chunked(data_chunked, block_size, block_mode,
#assert bytes_read == len(compressed)
assert decompressed == data
+ del compressed
+ del decompressed
+ del c_context
+ del d_context
# class TestLZ4Frame(unittest.TestCase):
