aboutsummaryrefslogtreecommitdiffstats
path: root/gr-digital
diff options
context:
space:
mode:
authorMarcus Müller <mmueller@gnuradio.org>2021-06-12 01:05:16 +0200
committermormj <34754695+mormj@users.noreply.github.com>2021-06-28 14:59:46 -0400
commit078d40ddeab957fcc91060131a4b3a1dfe9df676 (patch)
tree3c848a7ac2e5b38b99e78d2a8b30b52f6b084058 /gr-digital
parentruntime: tags can be compared with < instead of offset_compare (diff)
downloadgnuradio-078d40ddeab957fcc91060131a4b3a1dfe9df676.tar.xz
gnuradio-078d40ddeab957fcc91060131a4b3a1dfe9df676.zip
runtime: use < instead of compare_offset, remove Python comparison class
Since the introduction of the comparison operator obsoletes the comparison class, remove it. Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
Diffstat (limited to 'gr-digital')
-rw-r--r--gr-digital/python/digital/qa_burst_shaper.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/gr-digital/python/digital/qa_burst_shaper.py b/gr-digital/python/digital/qa_burst_shaper.py
index 2846617fd..40ac210ec 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))