summaryrefslogtreecommitdiff
path: root/gr-blocks/python/blocks/qa_interleave.py
diff options
context:
space:
mode:
Diffstat (limited to 'gr-blocks/python/blocks/qa_interleave.py')
-rwxr-xr-xgr-blocks/python/blocks/qa_interleave.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/gr-blocks/python/blocks/qa_interleave.py b/gr-blocks/python/blocks/qa_interleave.py
index 376d487b10..3fcfb230cc 100755
--- a/gr-blocks/python/blocks/qa_interleave.py
+++ b/gr-blocks/python/blocks/qa_interleave.py
@@ -20,8 +20,8 @@
# Boston, MA 02110-1301, USA.
#
-from gnuradio import gr, gr_unittest
-import blocks_swig
+from gnuradio import gr, gr_unittest, blocks
+
import math
class test_interleave (gr_unittest.TestCase):
@@ -38,7 +38,7 @@ class test_interleave (gr_unittest.TestCase):
src1 = gr.vector_source_f (range (1, lenx, 4))
src2 = gr.vector_source_f (range (2, lenx, 4))
src3 = gr.vector_source_f (range (3, lenx, 4))
- op = blocks_swig.interleave (gr.sizeof_float)
+ op = blocks.interleave (gr.sizeof_float)
dst = gr.vector_sink_f ()
self.tb.connect (src0, (op, 0))
@@ -54,7 +54,7 @@ class test_interleave (gr_unittest.TestCase):
def test_deint_001 (self):
lenx = 64
src = gr.vector_source_f (range (lenx))
- op = blocks_swig.deinterleave (gr.sizeof_float)
+ op = blocks.deinterleave (gr.sizeof_float)
dst0 = gr.vector_sink_f ()
dst1 = gr.vector_sink_f ()
dst2 = gr.vector_sink_f ()