summaryrefslogtreecommitdiff
path: root/gr-blocks/python/blocks/qa_file_metadata.py
Commit message (Collapse)AuthorAgeFilesLines
* qa: update tests to work with OpenEmbeddedPhilip Balister2021-12-031-8/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* qa: run autopep8 formatting on qa python filesmormj2020-10-301-8/+10
| | | | | | find ./ -iname qa*.py | xargs autopep8 --in-place -a -a mostly formats whitespace and gets rid of trailing semicolons
* qa: remove xml file parameter causing deprecation warningsmormj2020-10-301-1/+1
|
* python: Remove unnecessary 'from __future__ import'Oleksandr Kravchuk2020-08-031-2/+0
| | | | | | | | | | | | | | | | 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
* Update license header to SPDX formatdevnulling2020-01-271-13/+1
|
* Changed file_meta_sink's signature to take unserialized pmtMarcus Müller2018-07-141-4/+2
| | | | | | | | | | 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.
* Merge branch 'next' into python3Johnathan Corgan2017-06-221-0/+2
|\ | | | | | | | | Conflicts: gnuradio-runtime/python/gnuradio/gr/tag_utils.py
| * gr_blocks: fix qa_file_metadata not calling close() on file sourcegnieboer2017-06-161-0/+2
| |
* | python3: update non-GRC components to use python2 or python3Douglas Anderson2017-02-261-13/+16
|/
* Removing trailing/extra whitespaces before release.Tom Rondeau2014-07-071-2/+2
| | | | 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).
* Merge branch 'maint'Johnathan Corgan2013-06-071-3/+5
| | | | | Conflicts: gr-blocks/python/blocks/qa_file_metadata.py
* Merged in 'next' branch.Ben Reynwar2013-05-101-2/+2
|
* Merged next into uninstalled import branch.Ben Reynwar2013-04-021-7/+7
|
* blocks: Updating testing environment.Ben Reynwar2013-03-111-4/+5
|
* blocks: Enabling uninstalled python imports.Ben Reynwar2013-03-071-0/+203