##// END OF EJS Templates
dirstate-cext: properly invalidate mtime and data in `set_untracked`...
dirstate-cext: properly invalidate mtime and data in `set_untracked` This was forgotten about in the initial implementation and was revealed while adding the `dirstate-v2` variant of `test-issue660.t`. Neither the existing Python implementation nor the upcoming Rust implementation suffer from this bug since they respectively have `None` and `Option<T>` to represent the lack of information. Differential Revision: https://phab.mercurial-scm.org/D12414

File last commit:

r44446:de783805 default
r49844:9bb70022 stable
Show More
test_estimate_sizes.py
15 lines | 274 B | text/x-python | PythonLexer
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)