##// END OF EJS Templates
run-test: keep track of the "real hg" binary before we replace it with a proxy...
run-test: keep track of the "real hg" binary before we replace it with a proxy When using `--rhg` or `--chg`, the `_hgcommand` attribute get replaced because we actually install them. This make it hard to refer to the installed hg in _installhg. So we keep track of it in a new attribute that we will use in the next few patches.

File last commit:

r44446:de783805 default
r53410:7fd3a930 default
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)