diff options
author | Michael Byers <ByersJR.Michael@gmail.com> | 2020-01-07 14:57:39 -0500 |
---|---|---|
committer | Marcus Müller <marcus@hostalia.de> | 2020-02-09 19:24:04 +0100 |
commit | deeece0502595dff0a27ed4ee8159ee64b7fb3ea (patch) | |
tree | 69c9b9fc2f54408fda88d54d66c2015df4ed54cd /gr-filter | |
parent | 7d619aed8b8eb185890df2940cbee5de6062c4bd (diff) |
pmt: Fix RuntimeError in pmt_to_python
Python has a RuntimeError that's thrown during the pmt to_python function.
Instead of throwing this error, SWIG has been updated to throw a TypeError.
This allows us to keep the same behavior whereby we iterate over PMT types
until the proper conversion is found
Diffstat (limited to 'gr-filter')
-rw-r--r-- | gr-filter/python/filter/qa_pfb_channelizer.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gr-filter/python/filter/qa_pfb_channelizer.py b/gr-filter/python/filter/qa_pfb_channelizer.py index 2ff8edb98..c6a06c386 100644 --- a/gr-filter/python/filter/qa_pfb_channelizer.py +++ b/gr-filter/python/filter/qa_pfb_channelizer.py @@ -61,7 +61,7 @@ class test_pfb_channelizer(gr_unittest.TestCase): def test_0003(self): """Test roundig error handling for oversample rate, (bad).""" - self.assertRaises(RuntimeError, + self.assertRaises(TypeError, filter.pfb.channelizer_ccf, 36, taps=self.taps, oversample_rate=10.1334) |