From ce00e949749fbb2ac1f476fc0c7abde587334238 Mon Sep 17 00:00:00 2001 From: Roman Zeyde Date: Fri, 1 Aug 2014 10:41:08 +0300 Subject: [PATCH] Fix ECC tests --- test_ecc.py | 1 - 1 file changed, 1 deletion(-) diff --git a/test_ecc.py b/test_ecc.py index 8d70a72..f7a51de 100644 --- a/test_ecc.py +++ b/test_ecc.py @@ -11,7 +11,6 @@ def test_random(): r = random.Random(0) x = bytearray(r.randrange(0, 256) for i in range(16 * 1024)) y = ecc.encode(x) - assert len(y) % ecc.BLOCK_SIZE == 0 x_ = concat(ecc.decode(y)) assert x_[:len(x)] == x assert all(v == 0 for v in x_[len(x):])