Package: binaryornot / 0.4.4+dfsg-2

0002-Use-smaller-test-case-to-accomodate-hypothesis-healt.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: Vincent Bernat <vincent@bernat.im>
Date: Thu, 18 Jan 2018 08:52:43 +0100
Subject: Use smaller test case to accomodate hypothesis healthcheck

---
 tests/test_check.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/test_check.py b/tests/test_check.py
index f36a75d..c8bf247 100755
--- a/tests/test_check.py
+++ b/tests/test_check.py
@@ -210,7 +210,7 @@ def bytes_in_file(data):
 
 
 class TestDetectionProperties(unittest.TestCase):
-    @given(binary(average_size=512))
+    @given(binary(average_size=128))
     def test_never_crashes(self, data):
         with bytes_in_file(data) as f:
             is_binary(f)