From 367faeef6a0d270fa2b3f5beb23e196d35141b30 Mon Sep 17 00:00:00 2001 From: Zooko O'Whielacronx Date: Wed, 31 Jan 2007 19:02:24 -0700 Subject: [PATCH] pyfec: make randomized unit tests more comprehensive --- pyfec/fec/test/test_pyfec.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyfec/fec/test/test_pyfec.py b/pyfec/fec/test/test_pyfec.py index d4f4fba9..8e414f96 100644 --- a/pyfec/fec/test/test_pyfec.py +++ b/pyfec/fec/test/test_pyfec.py @@ -87,7 +87,7 @@ def pad_size(n, k): def _test_random(): m = random.randrange(1, 257) k = random.randrange(1, m+1) - l = random.randrange(0, 2**16) + l = random.randrange(0, 2**15) ss = [ randstr(l/k) for x in range(k) ] _h(k, m, ss) -- 2.45.2