summaryrefslogtreecommitdiff
path: root/gr-blocks/python/blocks/qa_selector.py
diff options
context:
space:
mode:
Diffstat (limited to 'gr-blocks/python/blocks/qa_selector.py')
-rw-r--r--gr-blocks/python/blocks/qa_selector.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/gr-blocks/python/blocks/qa_selector.py b/gr-blocks/python/blocks/qa_selector.py
index e4a6ecc744..c36cfefad5 100644
--- a/gr-blocks/python/blocks/qa_selector.py
+++ b/gr-blocks/python/blocks/qa_selector.py
@@ -21,8 +21,8 @@ class test_selector(gr_unittest.TestCase):
self.tb = None
def test_select_same(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]
expected_drop = ()
num_inputs = 4; num_outputs = 4
@@ -99,8 +99,8 @@ class test_selector(gr_unittest.TestCase):
self.assertEqual(expected_result, dst_data)
def test_not_enabled (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 = []
num_inputs = 4; num_outputs = 4
input_index = 1; output_index = 2