]> Cypherpunks.ru repositories - pyderasn.git/blobdiff - tests/test_pyderasn.py
Fix possible test's huge memory consumption
[pyderasn.git] / tests / test_pyderasn.py
index 50f181d3ac89be5d4eaade340647a541db699354..f0071c3d50c37ecf53eb1ed8b761be95d634b98a 100644 (file)
@@ -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((