diff options
author | Jeff Long <willcode4@gmail.com> | 2021-01-12 07:38:34 -0500 |
---|---|---|
committer | Martin Braun <martin@gnuradio.org> | 2021-01-12 14:24:54 -0800 |
commit | 2c93926388f6e286b51b63fb430bd49b4c582bde (patch) | |
tree | 9c3455c94813ee3f1ceef72e8dc1f05ca8d6eeda /gr-blocks/python | |
parent | 8d61788817391966e4dc3ab5b767a42df89b6884 (diff) |
gr-blocks qa for peak_detector2: fix result type in test5
Signed-off-by: Jeff Long <willcode4@gmail.com>
Diffstat (limited to 'gr-blocks/python')
-rw-r--r-- | gr-blocks/python/blocks/qa_peak_detector2.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gr-blocks/python/blocks/qa_peak_detector2.py b/gr-blocks/python/blocks/qa_peak_detector2.py index 8650bb86bb..d8055d61f7 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) |