view contrib/python-zstandard/tests/test_estimate_sizes.py @ 49161:0ddd5e1f5f67 stable 6.1.2

ci: remove py2-rust support Nobody cares about this very narrow usecase, and py2 support is over by July 1st. This helps with the CI load, and removes some flakiness.
author Raphaël Gomès <rgomes@octobus.net>
date Wed, 04 May 2022 18:00:01 +0200
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)