summaryrefslogtreecommitdiff
path: root/gr-digital/python/qa_cma_equalizer.py
diff options
context:
space:
mode:
Diffstat (limited to 'gr-digital/python/qa_cma_equalizer.py')
-rwxr-xr-xgr-digital/python/qa_cma_equalizer.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/gr-digital/python/qa_cma_equalizer.py b/gr-digital/python/qa_cma_equalizer.py
index 2af1505c1c..f71e199189 100755
--- a/gr-digital/python/qa_cma_equalizer.py
+++ b/gr-digital/python/qa_cma_equalizer.py
@@ -45,10 +45,8 @@ class test_cma_equalizer_fir(gr_unittest.TestCase):
expected_data = src_data
result = self.transform(src_data)
- # only test last N samples to allow for settling. Also adjust
- # for a 1 sample delay in the filter.
N = -500
- self.assertComplexTuplesAlmostEqual(expected_data[N:-1], result[N+1:])
+ self.assertComplexTuplesAlmostEqual(expected_data[N:], result[N:])
if __name__ == "__main__":
gr_unittest.run(test_cma_equalizer_fir, "test_cma_equalizer_fir.xml")