From 25e2e7287b20e8dd8e5cf9c0fe07eb754b81c10c Mon Sep 17 00:00:00 2001 From: Josh Morman <jmorman@gnuradio.org> Date: Wed, 24 Nov 2021 12:03:48 -0500 Subject: blocks: pep8 formatting Signed-off-by: Josh Morman <jmorman@gnuradio.org> --- gr-blocks/python/blocks/qa_stream_mux.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'gr-blocks/python/blocks/qa_stream_mux.py') diff --git a/gr-blocks/python/blocks/qa_stream_mux.py b/gr-blocks/python/blocks/qa_stream_mux.py index 4c935245db..57ebbe97af 100644 --- a/gr-blocks/python/blocks/qa_stream_mux.py +++ b/gr-blocks/python/blocks/qa_stream_mux.py @@ -203,19 +203,19 @@ class test_stream_mux (gr_unittest.TestCase): N = 10 # Block length stream_sizes = [1, 2, 3] - expected_result = N * (stream_sizes[0] * [1, ] - + stream_sizes[1] * [2, ] - + stream_sizes[2] * [3, ]) + expected_result = N * (stream_sizes[0] * [1, ] + + stream_sizes[1] * [2, ] + + stream_sizes[2] * [3, ]) # check the data (result, tags) = self.help_stream_tag_propagation(N, stream_sizes) self.assertFloatTuplesAlmostEqual(expected_result, result, places=6) # check the tags expected_tag_offsets_src1 = [sum(stream_sizes) * i for i in range(N)] - expected_tag_offsets_src2 = [stream_sizes[0] - + sum(stream_sizes) * i for i in range(N)] - expected_tag_offsets_src3 = [stream_sizes[0] + stream_sizes[1] - + sum(stream_sizes) * i for i in range(N)] + expected_tag_offsets_src2 = [stream_sizes[0] + + sum(stream_sizes) * i for i in range(N)] + expected_tag_offsets_src3 = [stream_sizes[0] + stream_sizes[1] + + sum(stream_sizes) * i for i in range(N)] tags_src1 = [ tag for tag in tags if pmt.eq( tag.key, pmt.intern('src1'))] -- cgit v1.2.3