summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrennan Ashton <bashton@brennanashton.com>2018-11-14 18:31:05 -0800
committerMartin Braun <martin.braun@ettus.com>2018-11-15 15:44:05 -0800
commitb29afca2de4e9a32c22a43b00c219c05f5c117e9 (patch)
tree176bdfa0fd1f79d1d515818a8c1b494edb3f2db4
parentd23fa96427c00bc2d149e6c55cf1f43ac956c213 (diff)
gr-filter: Refine bare exception capture in test
-rw-r--r--gr-filter/python/filter/qa_fft_filter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gr-filter/python/filter/qa_fft_filter.py b/gr-filter/python/filter/qa_fft_filter.py
index 6de8ecb214..01b225d901 100644
--- a/gr-filter/python/filter/qa_fft_filter.py
+++ b/gr-filter/python/filter/qa_fft_filter.py
@@ -409,7 +409,7 @@ class test_fft_filter(gr_unittest.TestCase):
#print "src_len =", src_len, " ntaps =", ntaps
try:
self.assert_fft_float_ok2(expected_result, result_data, abs_eps=1.0)
- except:
+ except AssertionError:
expected = open('expected', 'w')
for x in expected_result:
expected.write(repr(x) + '\n')