diff options
author | mormj <mormjb@gmail.com> | 2020-10-30 10:59:50 -0400 |
---|---|---|
committer | Marcus Müller <marcus@hostalia.de> | 2020-10-30 17:52:53 +0100 |
commit | 7a0948ba85758fba1cc3858ef99bfa600dcc7416 (patch) | |
tree | 610d7f9d773a193562def6df2d4b50f1bb3b3f86 /gnuradio-runtime/python/pmt/qa_pmt_to_python.py | |
parent | 12192ee7d58de95ddca35a3e93bfc172bdb5c820 (diff) |
qa: run autopep8 formatting on qa python files
find ./ -iname qa*.py | xargs autopep8 --in-place -a -a
mostly formats whitespace and gets rid of trailing semicolons
Diffstat (limited to 'gnuradio-runtime/python/pmt/qa_pmt_to_python.py')
-rw-r--r-- | gnuradio-runtime/python/pmt/qa_pmt_to_python.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gnuradio-runtime/python/pmt/qa_pmt_to_python.py b/gnuradio-runtime/python/pmt/qa_pmt_to_python.py index 3fed489d8c..0d96cb800d 100644 --- a/gnuradio-runtime/python/pmt/qa_pmt_to_python.py +++ b/gnuradio-runtime/python/pmt/qa_pmt_to_python.py @@ -9,11 +9,11 @@ # - import unittest import pmt from pmt import pmt_to_python as pmt2py + class test_pmt_to_python(unittest.TestCase): def test_pmt_from_double(self): @@ -29,10 +29,9 @@ class test_pmt_to_python(unittest.TestCase): narr.imag[:] = np.random.uniform(size=N) uvector = pmt2py.numpy_to_uvector(narr) nparr = pmt2py.uvector_to_numpy(uvector) - self.assertTrue(nparr.dtype==narr.dtype) + self.assertTrue(nparr.dtype == narr.dtype) self.assertTrue(np.alltrue(nparr == narr)) - if __name__ == '__main__': unittest.main() |