##// END OF EJS Templates
rust-chg: install signal handlers to forward signals to server...
rust-chg: install signal handlers to forward signals to server I use sync::Once as a synchronization primitive because it's quite easy to use, and is good enough to prevent data race in these C functions.

File last commit:

r37513:b1fb341d default
r40156:89742f1f default
Show More
test_estimate_sizes.py
15 lines | 271 B | text/x-python | PythonLexer
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)