diff options
Diffstat (limited to 'gr-analog/python/analog/qa_sig_source.py')
-rw-r--r-- | gr-analog/python/analog/qa_sig_source.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gr-analog/python/analog/qa_sig_source.py b/gr-analog/python/analog/qa_sig_source.py index aafcc28483..977a17d372 100644 --- a/gr-analog/python/analog/qa_sig_source.py +++ b/gr-analog/python/analog/qa_sig_source.py @@ -1,10 +1,10 @@ #!/usr/bin/env python # -#Copyright 2004, 2007, 2010, 2012, 2013, 2020 Free Software Foundation, Inc. +# Copyright 2004, 2007, 2010, 2012, 2013, 2020 Free Software Foundation, Inc. # -#This file is part of GNU Radio +# This file is part of GNU Radio # -#SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-or-later # # @@ -83,7 +83,7 @@ class test_sig_source(gr_unittest.TestCase): tb.connect(op, dst1) tb.run() dst_data = dst1.data() - #Let the python know we are dealing with signed int behind scenes + # Let the python know we are dealing with signed int behind scenes dst_data_signed = [b if b < 127 else (256 - b) * -1 for b in dst_data] self.assertFloatTuplesAlmostEqual(expected_result, dst_data_signed) @@ -118,7 +118,7 @@ class test_sig_source(gr_unittest.TestCase): self.assertFloatTuplesAlmostEqual(expected_result, dst_data, 5) def test_sqr_c(self): - tb = self.tb #arg6 is a bit before -PI/2 + tb = self.tb # arg6 is a bit before -PI/2 expected_result = [1j, 1j, 0, 0, 1, 1, 1 + 0j, 1 + 1j, 1j] src1 = analog.sig_source_c(8, analog.GR_SQR_WAVE, 1.0, 1.0) op = blocks.head(gr.sizeof_gr_complex, 9) |