From 55d3e4a47958be287648a2021f7e92d81086b2d9 Mon Sep 17 00:00:00 2001
From: Tom Rondeau <trondeau@vt.edu>
Date: Fri, 21 Dec 2012 15:11:39 -0500
Subject: blocks: removes blocks moved to gr-blocks from gnuradio-core.

Also fixes up some other missing moves.
---
 gr-fft/python/qa_fft.py | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

(limited to 'gr-fft/python/qa_fft.py')

diff --git a/gr-fft/python/qa_fft.py b/gr-fft/python/qa_fft.py
index 1c45ac1484..0a66a2c1fc 100755
--- a/gr-fft/python/qa_fft.py
+++ b/gr-fft/python/qa_fft.py
@@ -21,6 +21,7 @@
 
 from gnuradio import gr, gr_unittest
 import fft_swig as fft
+import blocks_swig as blocks
 import sys
 import random
 
@@ -87,9 +88,9 @@ class test_fft(gr_unittest.TestCase):
                            (1646.539306640625-1694.1956787109375j))
 
         src = gr.vector_source_c(src_data)
-        s2v = gr.stream_to_vector(gr.sizeof_gr_complex, fft_size)
+        s2v = blocks.stream_to_vector(gr.sizeof_gr_complex, fft_size)
         op  = fft.fft_vcc(fft_size, True, [], False)
-        v2s = gr.vector_to_stream(gr.sizeof_gr_complex, fft_size)
+        v2s = blocks.vector_to_stream(gr.sizeof_gr_complex, fft_size)
         dst = gr.vector_sink_c()
         tb.connect(src, s2v, op, v2s, dst)
         tb.run()
@@ -141,9 +142,9 @@ class test_fft(gr_unittest.TestCase):
         expected_result = tuple([complex(primes[2*i], primes[2*i+1]) for i in range(fft_size)])
 
         src = gr.vector_source_c(src_data)
-        s2v = gr.stream_to_vector(gr.sizeof_gr_complex, fft_size)
+        s2v = blocks.stream_to_vector(gr.sizeof_gr_complex, fft_size)
         op  = fft.fft_vcc(fft_size, False, [], False)
-        v2s = gr.vector_to_stream(gr.sizeof_gr_complex, fft_size)
+        v2s = blocks.vector_to_stream(gr.sizeof_gr_complex, fft_size)
         dst = gr.vector_sink_c()
         tb.connect(src, s2v, op, v2s, dst)
         tb.run()
@@ -199,9 +200,9 @@ class test_fft(gr_unittest.TestCase):
         nthreads = 2
 
         src = gr.vector_source_c(src_data)
-        s2v = gr.stream_to_vector(gr.sizeof_gr_complex, fft_size)
+        s2v = blocks.stream_to_vector(gr.sizeof_gr_complex, fft_size)
         op  = fft.fft_vcc(fft_size, False, [], False, nthreads)
-        v2s = gr.vector_to_stream(gr.sizeof_gr_complex, fft_size)
+        v2s = blocks.vector_to_stream(gr.sizeof_gr_complex, fft_size)
         dst = gr.vector_sink_c()
         tb.connect(src, s2v, op, v2s, dst)
         tb.run()
-- 
cgit v1.2.3