From 300f7b5313ff79d9f3d9c19e109e71ee608bea86 Mon Sep 17 00:00:00 2001 From: Tom Rondeau <trondeau@vt.edu> Date: Wed, 31 Oct 2012 13:15:25 -0400 Subject: analog: adding pwr_squelch blocks to gr-analog with QA and GRC. --- gr-analog/python/qa_simple_squelch.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'gr-analog/python/qa_simple_squelch.py') diff --git a/gr-analog/python/qa_simple_squelch.py b/gr-analog/python/qa_simple_squelch.py index 97deee06cd..9fa112864f 100755 --- a/gr-analog/python/qa_simple_squelch.py +++ b/gr-analog/python/qa_simple_squelch.py @@ -46,7 +46,6 @@ class test_simple_squelch(gr_unittest.TestCase): self.assertEqual(thr2, t) def test_simple_squelch_002(self): - # Test runtime, gate=True alpha = 0.0001 thr = -25 @@ -63,7 +62,7 @@ class test_simple_squelch(gr_unittest.TestCase): expected_result[0:20] = 20*[0,] result_data = dst.data() - self.assertFloatTuplesAlmostEqual(expected_result, result_data, 4) + self.assertComplexTuplesAlmostEqual(expected_result, result_data, 4) if __name__ == '__main__': gr_unittest.run(test_simple_squelch, "test_simple_squelch.xml") -- cgit v1.2.3