diff options
Diffstat (limited to 'gr-blocks/python/blocks/qa_regenerate.py')
-rw-r--r-- | gr-blocks/python/blocks/qa_regenerate.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gr-blocks/python/blocks/qa_regenerate.py b/gr-blocks/python/blocks/qa_regenerate.py index b3ce34fa4b..3c4ae9feb1 100644 --- a/gr-blocks/python/blocks/qa_regenerate.py +++ b/gr-blocks/python/blocks/qa_regenerate.py @@ -26,9 +26,9 @@ class test_regenerate(gr_unittest.TestCase): 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] - expected_result = (0, 0, 0, + expected_result = [0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, - 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0) + 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] src = blocks.vector_source_b(data, False) @@ -71,7 +71,7 @@ class test_regenerate(gr_unittest.TestCase): dst_data = dst.data() - self.assertEqual(tuple(expected_result), dst_data) + self.assertEqual(expected_result, dst_data) if __name__ == '__main__': |