##// END OF EJS Templates
lazymanifest: don't crash when out of memory (issue5916)...
lazymanifest: don't crash when out of memory (issue5916) self->lines can be NULL if we failed to allocate memory for it.

File last commit:

r37513:b1fb341d default
r38321:6caca2a7 stable
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)