Mercurial > public > mercurial-scm > hg
view contrib/python-zstandard/tests/test_estimate_sizes.py @ 53042:cdd7bf612c7b stable tip
bundle-spec: properly format boolean parameter (issue6960)
This was breaking automatic clone bundle generation. This changeset fixes it and
add a test to catch it in the future.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Tue, 11 Mar 2025 02:29:42 +0100 |
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)