From 078d40ddeab957fcc91060131a4b3a1dfe9df676 Mon Sep 17 00:00:00 2001 From: Marcus Müller <mmueller@gnuradio.org> Date: Sat, 12 Jun 2021 01:05:16 +0200 Subject: runtime: use < instead of compare_offset, remove Python comparison class MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Since the introduction of the comparison operator obsoletes the comparison class, remove it. Signed-off-by: Marcus Müller <mmueller@gnuradio.org> --- gr-digital/python/digital/qa_burst_shaper.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'gr-digital/python/digital') diff --git a/gr-digital/python/digital/qa_burst_shaper.py b/gr-digital/python/digital/qa_burst_shaper.py index 2846617fd7..40ac210ec2 100644 --- a/gr-digital/python/digital/qa_burst_shaper.py +++ b/gr-digital/python/digital/qa_burst_shaper.py @@ -362,8 +362,7 @@ class qa_burst_shaper (gr_unittest.TestCase): # checks self.assertFloatTuplesAlmostEqual(sink.data(), expected, 6) - for x, y in zip(sorted(sink.tags(), key=gr.tag_t_offset_compare_key()), - sorted(etags, key=gr.tag_t_offset_compare_key())): + for x, y in zip(sorted(sink.tags()), sorted(etags)): self.assertTrue(compare_tags(x, y)) -- cgit v1.2.3