contrib/python-zstandard/tests/test_estimate_sizes.py
author Matt Harbison <matt_harbison@yahoo.com>
Sat, 19 Dec 2020 01:15:44 -0500
changeset 46169 714085c1b800
parent 43994 de7838053207
permissions -rw-r--r--
mergetools: enable the `checkconflicts` option for Araxis Merge This must have been a typo. This matches the config read in filemerge, as well as the TortoiseHg config file. Differential Revision: https://phab.mercurial-scm.org/D9633

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)