summaryrefslogtreecommitdiff
path: root/gr-blocks/python/blocks/qa_unpack_k_bits.py
diff options
context:
space:
mode:
Diffstat (limited to 'gr-blocks/python/blocks/qa_unpack_k_bits.py')
-rw-r--r--gr-blocks/python/blocks/qa_unpack_k_bits.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/gr-blocks/python/blocks/qa_unpack_k_bits.py b/gr-blocks/python/blocks/qa_unpack_k_bits.py
index 770548bcb9..7c6c9f6825 100644
--- a/gr-blocks/python/blocks/qa_unpack_k_bits.py
+++ b/gr-blocks/python/blocks/qa_unpack_k_bits.py
@@ -23,8 +23,8 @@ class test_unpack(gr_unittest.TestCase):
self.tb = None
def test_001(self):
- src_data = (1,0,1,1,0,1,1,0)
- expected_results = (1,0,1,1,0,1,1,0)
+ src_data = [1,0,1,1,0,1,1,0]
+ expected_results = [1,0,1,1,0,1,1,0]
src = blocks.vector_source_b(src_data,False)
op = blocks.unpack_k_bits_bb(1)
dst = blocks.vector_sink_b()
@@ -33,8 +33,8 @@ class test_unpack(gr_unittest.TestCase):
self.assertEqual(expected_results, dst.data())
def test_002(self):
- src_data = ( 2, 3, 0, 1)
- expected_results = (1,0,1,1,0,0,0,1)
+ src_data = [ 2, 3, 0, 1]
+ expected_results = [1,0,1,1,0,0,0,1]
src = blocks.vector_source_b(src_data,False)
op = blocks.unpack_k_bits_bb(2)
dst = blocks.vector_sink_b()