##// END OF EJS Templates
sidedata: check that the sidedata safely roundtrip...
sidedata: check that the sidedata safely roundtrip We actually use the data we stored during the test. It is a way to make sure their content is not corrupted. Differential Revision: https://phab.mercurial-scm.org/D6898

File last commit:

r37513:b1fb341d default
r43310:03e76927 default
Show More
test_estimate_sizes.py
15 lines | 271 B | text/x-python | PythonLexer
import unittest
import zstandard as zstd
from . common import (
make_cffi,
)
@make_cffi
class TestSizes(unittest.TestCase):
def test_decompression_size(self):
size = zstd.estimate_decompression_context_size()
self.assertGreater(size, 100000)