| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* qa_nlog10.py: Update test to check for equal with one less decimal place.
On the qemu machines built with OpenEmbedded, this test failed if
the check was 5 decimal places. Relaxing to 4 lets the test pass.
The volk routines used in the implementation pass QA already.
Signed-off-by: Philip Balister <philip@balister.org>
* Update QA tests to import helper routines from blocks.
The file metadata QA installs a file in blocks, but imported it
directly. Updated init.py to import via blocks. matrix interleaver
imported some routines from a py file that was available via blocks.
These cretaed issues when you install the qa tests in images to run
them outside the build area.
Signed-off-by: Philip Balister <philip@balister.org>
* python formatting
Signed-off-by: Josh Morman <jmorman@gnuradio.org>
Co-authored-by: Josh Morman <jmorman@gnuradio.org>
|
|
|
|
|
|
| |
find ./ -iname qa*.py | xargs autopep8 --in-place -a -a
mostly formats whitespace and gets rid of trailing semicolons
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
All of the removed `from __future__ import` were needed in older
versions of Python (mostly 2.5.x and below) but later became mandatory
in most versions of Python 3 hence are not necessary anymore.
More specifically, according to __future__.py[1]:
- unicode_literals is part of Python since versions 2.6.0 and 3.0.0;
- print_function is part of Python since versions 2.6.0 and 3.0.0;
- absolute_import is part of Python since versions 2.5.0 and 3.0.0;
- division is part of Python since versions 2.2.0 and 3.0.0;
Get rid of those unnecessary imports to slightly clean up the codebase.
[1] https://github.com/python/cpython/blob/master/Lib/__future__.py
|
| |
|
|
|
|
|
|
|
|
|
|
| |
For some reason, the block accepts serialized PMT from in-GNU Radio,
then unserializes it, then serializes it back.
All possible uses probably will prefer just passing the PMT itself.
Changing the API inherently fixes the Py3-migration related std::string
handling ambiguity.
|
|\
| |
| |
| |
| | |
Conflicts:
gnuradio-runtime/python/gnuradio/gr/tag_utils.py
|
| | |
|
|/ |
|
|
|
|
| |
We should be more careful about letting these into the code in the future. In emacs, we can use (add-hook 'before-save-hook 'delete-trailing-whitespace).
|
|
|
|
|
| |
Conflicts:
gr-blocks/python/blocks/qa_file_metadata.py
|
| |
|
| |
|
| |
|
|
|