summaryrefslogtreecommitdiff
path: root/gr-blocks/python/blocks/qa_copy.py
diff options
context:
space:
mode:
Diffstat (limited to 'gr-blocks/python/blocks/qa_copy.py')
-rw-r--r--gr-blocks/python/blocks/qa_copy.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/gr-blocks/python/blocks/qa_copy.py b/gr-blocks/python/blocks/qa_copy.py
index 3fd8d4509a..9abc2936e0 100644
--- a/gr-blocks/python/blocks/qa_copy.py
+++ b/gr-blocks/python/blocks/qa_copy.py
@@ -20,8 +20,8 @@ class test_copy(gr_unittest.TestCase):
self.tb = None
def test_copy(self):
- src_data = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
- expected_result = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
+ src_data = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
+ expected_result = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
src = blocks.vector_source_b(src_data)
op = blocks.copy(gr.sizeof_char)
dst = blocks.vector_sink_b()
@@ -31,8 +31,8 @@ class test_copy(gr_unittest.TestCase):
self.assertEqual(expected_result, dst_data)
def test_copy_drop (self):
- src_data = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
- expected_result = ()
+ src_data = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
+ expected_result = []
src = blocks.vector_source_b(src_data)
op = blocks.copy(gr.sizeof_char)
op.set_enabled(False)