summaryrefslogtreecommitdiff
path: root/gnuradio-core/src/python
diff options
context:
space:
mode:
authorTom Rondeau2012-05-21 12:48:33 -0400
committerTom Rondeau2012-05-21 12:48:33 -0400
commitd4fe4377e72165d88fdf00f6c8d5a5b986b25955 (patch)
treeaf5d4e8daf0c956dc6673c3804f17dfea543e75d /gnuradio-core/src/python
parentae75ab750c2210a880684c3ce82bc152dd591ab3 (diff)
downloadgnuradio-d4fe4377e72165d88fdf00f6c8d5a5b986b25955.tar.gz
gnuradio-d4fe4377e72165d88fdf00f6c8d5a5b986b25955.tar.bz2
gnuradio-d4fe4377e72165d88fdf00f6c8d5a5b986b25955.zip
core: minor formatting changes to vector_map for style consistency.
Diffstat (limited to 'gnuradio-core/src/python')
-rw-r--r--gnuradio-core/src/python/gnuradio/gr/qa_vector_map.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/gnuradio-core/src/python/gnuradio/gr/qa_vector_map.py b/gnuradio-core/src/python/gnuradio/gr/qa_vector_map.py
index 684210a08..12f4be589 100644
--- a/gnuradio-core/src/python/gnuradio/gr/qa_vector_map.py
+++ b/gnuradio-core/src/python/gnuradio/gr/qa_vector_map.py
@@ -26,7 +26,7 @@ import math
class test_vector_map(gr_unittest.TestCase):
def setUp (self):
- self.tb = gr.top_block ()
+ self.tb = gr.top_block()
def tearDown (self):
self.tb = None
@@ -72,12 +72,14 @@ class test_vector_map(gr_unittest.TestCase):
# Takes 3 streams (a, b and c)
# Outputs 2 streams.
# 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.
+ # 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)
+ 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
]