diff options
author | Josh Morman <jmorman@gnuradio.org> | 2021-11-24 12:03:48 -0500 |
---|---|---|
committer | mormj <34754695+mormj@users.noreply.github.com> | 2021-11-24 14:41:53 -0500 |
commit | 25e2e7287b20e8dd8e5cf9c0fe07eb754b81c10c (patch) | |
tree | 0b76f5866d4ddf592d750ac4548ba7192d505f9e /gr-blocks/python/blocks/qa_stream_mux.py | |
parent | 42e58f1ca211115e9a76922c36dfbf2b1ad39978 (diff) |
blocks: pep8 formatting
Signed-off-by: Josh Morman <jmorman@gnuradio.org>
Diffstat (limited to 'gr-blocks/python/blocks/qa_stream_mux.py')
-rw-r--r-- | gr-blocks/python/blocks/qa_stream_mux.py | 14 |
1 files changed, 7 insertions, 7 deletions
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'))] |