contrib/python-zstandard/tests/test_estimate_sizes.py
author Pierre-Yves David <pierre-yves.david@octobus.net>
Sat, 07 Sep 2019 00:16:32 +0200
changeset 42992 dff95420480f
parent 37495 b1fb341d8a61
child 43994 de7838053207
permissions -rw-r--r--
flagprocessors: make `processflagsraw` a module level function One more steps toward removing the mixin. Differential Revision: https://phab.mercurial-scm.org/D6820

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)