summaryrefslogtreecommitdiff
path: root/gr-blocks/python/blocks/qa_head.py
diff options
context:
space:
mode:
Diffstat (limited to 'gr-blocks/python/blocks/qa_head.py')
-rw-r--r--gr-blocks/python/blocks/qa_head.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gr-blocks/python/blocks/qa_head.py b/gr-blocks/python/blocks/qa_head.py
index 0766d002d3..75ad8221c5 100644
--- a/gr-blocks/python/blocks/qa_head.py
+++ b/gr-blocks/python/blocks/qa_head.py
@@ -20,8 +20,8 @@ class test_head(gr_unittest.TestCase):
self.tb = None
def test_head(self):
- src_data = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
- expected_result = (1, 2, 3, 4)
+ src_data = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
+ expected_result = [1, 2, 3, 4]
src1 = blocks.vector_source_i(src_data)
op = blocks.head(gr.sizeof_int, 4)
dst1 = blocks.vector_sink_i()