summaryrefslogtreecommitdiff
path: root/gr-blocks/python/blocks/qa_vector_map.py
diff options
context:
space:
mode:
Diffstat (limited to 'gr-blocks/python/blocks/qa_vector_map.py')
-rw-r--r--gr-blocks/python/blocks/qa_vector_map.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/gr-blocks/python/blocks/qa_vector_map.py b/gr-blocks/python/blocks/qa_vector_map.py
index 3efc8ea8c0..d73f1c0eea 100644
--- a/gr-blocks/python/blocks/qa_vector_map.py
+++ b/gr-blocks/python/blocks/qa_vector_map.py
@@ -63,12 +63,12 @@ class test_vector_map(gr_unittest.TestCase):
# First (d) is interleaving of a and b.
# Second (e) is interleaving of a and b and c. c is taken in
# chunks of 2 which are reversed.
- A = (1, 2, 3, 4, 5)
- B = (11, 12, 13, 14, 15)
- C = (99, 98, 97, 96, 95, 94, 93, 92, 91, 90)
- expected_D = (1, 11, 2, 12, 3, 13, 4, 14, 5, 15)
- expected_E = (1, 11, 98, 99, 2, 12, 96, 97, 3, 13, 94, 95,
- 4, 14, 92, 93, 5, 15, 90, 91)
+ A = [1, 2, 3, 4, 5]
+ B = [11, 12, 13, 14, 15]
+ C = [99, 98, 97, 96, 95, 94, 93, 92, 91, 90]
+ expected_D = [1, 11, 2, 12, 3, 13, 4, 14, 5, 15]
+ expected_E = [1, 11, 98, 99, 2, 12, 96, 97, 3, 13, 94, 95,
+ 4, 14, 92, 93, 5, 15, 90, 91]
mapping = [[(0, 0), (1, 0)], # mapping to produce D
[(0, 0), (1, 0), (2, 1), (2, 0)], # mapping to produce E
]