summaryrefslogtreecommitdiff
path: root/gr-blocks/python
diff options
context:
space:
mode:
authorJohnathan Corgan2012-07-06 08:17:40 -0700
committerJohnathan Corgan2012-07-06 08:17:40 -0700
commit27694edd168bc1260ff04950e837a6580afc49ab (patch)
treec7d7a7dbaf9c156f9859e411f9360a473a2eb791 /gr-blocks/python
parent44647064669928517b233ca26bd97cd87847a235 (diff)
downloadgnuradio-27694edd168bc1260ff04950e837a6580afc49ab.tar.gz
gnuradio-27694edd168bc1260ff04950e837a6580afc49ab.tar.bz2
gnuradio-27694edd168bc1260ff04950e837a6580afc49ab.zip
blocks: added gr::blocks::interleave
Diffstat (limited to 'gr-blocks/python')
-rwxr-xr-xgr-blocks/python/qa_interleave.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/gr-blocks/python/qa_interleave.py b/gr-blocks/python/qa_interleave.py
index 56c8bdfdf..376d487b1 100755
--- a/gr-blocks/python/qa_interleave.py
+++ b/gr-blocks/python/qa_interleave.py
@@ -32,14 +32,13 @@ class test_interleave (gr_unittest.TestCase):
def tearDown (self):
self.tb = None
- """
def test_int_001 (self):
lenx = 64
src0 = gr.vector_source_f (range (0, lenx, 4))
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 = gr.interleave (gr.sizeof_float)
+ op = blocks_swig.interleave (gr.sizeof_float)
dst = gr.vector_sink_f ()
self.tb.connect (src0, (op, 0))
@@ -51,7 +50,7 @@ class test_interleave (gr_unittest.TestCase):
expected_result = tuple (range (lenx))
result_data = dst.data ()
self.assertFloatTuplesAlmostEqual (expected_result, result_data)
- """
+
def test_deint_001 (self):
lenx = 64
src = gr.vector_source_f (range (lenx))