##// END OF EJS Templates
py3: fix up test-remotefilelog-cacheprocess.t to not depend on a repr...
py3: fix up test-remotefilelog-cacheprocess.t to not depend on a repr It looks like the repr() of Exceptions is different from Python 2 to Python 3.7 (but not 3.5?), but the str() is still stable. Sigh. Differential Revision: https://phab.mercurial-scm.org/D5761

File last commit:

r37513:b1fb341d default
r41617:fd2f1f00 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)