Mercurial > hg
view contrib/python-zstandard/tests/test_estimate_sizes.py @ 45392:c25efc468a49
mercurial: force LF endings for *.py, *.{c,h} and *.t in .editorconfig
PyCharm on Windows otherwise uses CRLF.
Differential Revision: https://phab.mercurial-scm.org/D8947
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Mon, 24 Aug 2020 12:39:48 -0400 |
parents | de7838053207 |
children |
line wrap: on
line source
import unittest import zstandard as zstd from .common import ( make_cffi, TestCase, ) @make_cffi class TestSizes(TestCase): def test_decompression_size(self): size = zstd.estimate_decompression_context_size() self.assertGreater(size, 100000)