From f3fd518eade5ad24bd7d2574b2532f0f28278f41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaroslav=20=C5=A0karvada?= Date: Fri, 21 Feb 2020 18:20:56 +0100 Subject: [PATCH] test: fixed serial_to_parallel test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The serial_to_parallel function already has fixed division by zero, thus it will not throw it. Signed-off-by: Jaroslav Škarvada --- test/test_rftools.py | 1 - 1 file changed, 1 deletion(-) diff --git a/test/test_rftools.py b/test/test_rftools.py index 76e79ef..96ce91a 100644 --- a/test/test_rftools.py +++ b/test/test_rftools.py @@ -77,7 +77,6 @@ class TestRFTools(unittest.TestCase): complex(50, 10)) def test_serial_to_parallel(self): - self.assertRaises(ZeroDivisionError, serial_to_parallel, 0) self.assertAlmostEqual( serial_to_parallel(complex(50, 10)), complex(52, 260))