From 7fce7e3b576b7775923d81a9048b8b6196fb4e13 Mon Sep 17 00:00:00 2001 From: Tom Rondeau Date: Thu, 16 Feb 2012 14:32:37 -0500 Subject: core: core: change to the delay QA code. The full vector is received because of the switch to a gr_block, so we exted the expected_data vector; otherwise, the results are the same --- gnuradio-core/src/python/gnuradio/gr/qa_delay.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnuradio-core/src/python') diff --git a/gnuradio-core/src/python/gnuradio/gr/qa_delay.py b/gnuradio-core/src/python/gnuradio/gr/qa_delay.py index 7cad0ae72..114e50108 100755 --- a/gnuradio-core/src/python/gnuradio/gr/qa_delay.py +++ b/gnuradio-core/src/python/gnuradio/gr/qa_delay.py @@ -50,7 +50,7 @@ class test_delay (gr_unittest.TestCase): delta_t = 10 tb = self.tb src_data = [float(x) for x in range(0, 100)] - expected_result = tuple(delta_t*[0.0] + src_data[0:-delta_t]) + expected_result = tuple(delta_t*[0.0] + src_data) src = gr.vector_source_f(src_data) op = gr.delay(gr.sizeof_float, delta_t) -- cgit