From 2c93926388f6e286b51b63fb430bd49b4c582bde Mon Sep 17 00:00:00 2001 From: Jeff Long <willcode4@gmail.com> Date: Tue, 12 Jan 2021 07:38:34 -0500 Subject: gr-blocks qa for peak_detector2: fix result type in test5 Signed-off-by: Jeff Long <willcode4@gmail.com> --- gr-blocks/python/blocks/qa_peak_detector2.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gr-blocks/python') diff --git a/gr-blocks/python/blocks/qa_peak_detector2.py b/gr-blocks/python/blocks/qa_peak_detector2.py index 8650bb86b..d8055d61f 100644 --- a/gr-blocks/python/blocks/qa_peak_detector2.py +++ b/gr-blocks/python/blocks/qa_peak_detector2.py @@ -139,8 +139,8 @@ class test_peak_detector2(gr_unittest.TestCase): dst_data = dst.data() dst_avg = avg.data() - self.assertEqual(tuple(expected_result_peak), dst_data) - self.assertFloatTuplesAlmostEqual(tuple(expected_result_average[1:]), dst_avg) + self.assertEqual(expected_result_peak, dst_data) + self.assertFloatTuplesAlmostEqual(expected_result_average[1:], dst_avg) if __name__ == '__main__': gr_unittest.run(test_peak_detector2) -- cgit v1.2.3