From: Sergey Matveev Date: Wed, 23 Mar 2022 17:42:57 +0000 (+0300) Subject: Fix possible test's huge memory consumption X-Git-Tag: 9.2~2 X-Git-Url: http://www.git.cypherpunks.ru/?p=pyderasn.git;a=commitdiff_plain;h=8ca61728c3a6a351305d41b57038d0697217fc4f Fix possible test's huge memory consumption --- diff --git a/tests/test_pyderasn.py b/tests/test_pyderasn.py index 50f181d..f0071c3 100644 --- a/tests/test_pyderasn.py +++ b/tests/test_pyderasn.py @@ -679,7 +679,7 @@ class TestBoolean(CommonMixin, TestCase): repr(obj) list(obj.pps()) - @given(integers(min_value=2)) + @given(integers(min_value=2, max_value=10)) def test_invalid_len(self, l): with self.assertRaises(InvalidLength): Boolean().decode(b"".join((