summaryrefslogtreecommitdiff
path: root/gr-fec
diff options
context:
space:
mode:
authorMichael Dickens <michael.dickens@ettus.com>2014-10-07 09:20:33 -0400
committerJohnathan Corgan <johnathan@corganlabs.com>2014-10-13 12:57:29 -0700
commita590a3732e25b3e5ebf3ebea725d0030e49f421e (patch)
tree762425a8a6dde382d6cb82f4eb590cbfa14a68a9 /gr-fec
parent41fbbc6a54fc7c3d9a9d73697f412bca234061bb (diff)
fec: qa: fix use of Bool type to be actual boolean Python values
Diffstat (limited to 'gr-fec')
-rw-r--r--gr-fec/python/fec/qa_ber_bf.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/gr-fec/python/fec/qa_ber_bf.py b/gr-fec/python/fec/qa_ber_bf.py
index 1a60c68581..7cd2871eff 100644
--- a/gr-fec/python/fec/qa_ber_bf.py
+++ b/gr-fec/python/fec/qa_ber_bf.py
@@ -37,7 +37,7 @@ class test_ber_bf(gr_unittest.TestCase):
# Cause a single bit error out of 8*N bits
# using streaming mode
- mode = 0
+ mode = False
N = 10000
data0 = numpy.random.randint(0, 256, N).tolist()
data1 = copy.deepcopy(data0)
@@ -62,7 +62,7 @@ class test_ber_bf(gr_unittest.TestCase):
# Cause a single bit error out of 8*N bits
# using test mode
- mode = 1
+ mode = True
N = 1000
data0 = numpy.random.randint(0, 256, N).tolist()
data1 = copy.deepcopy(data0)
@@ -87,7 +87,7 @@ class test_ber_bf(gr_unittest.TestCase):
# Cause 8 bit errors out of 8*N bits
# using test mode
- mode = 1
+ mode = True
N = 1000
data0 = numpy.random.randint(0, 256, N).tolist()
data1 = copy.deepcopy(data0)
@@ -113,7 +113,7 @@ class test_ber_bf(gr_unittest.TestCase):
# using test mode
# Exit if BER < -2.0
- mode = 1
+ mode = True
N = 1000
data0 = numpy.random.randint(0, 256, N).tolist()
data1 = copy.deepcopy(data0)