fix format field index (py2.6 things)
This commit is contained in:
parent
b5c0ce07ac
commit
d55cc91176
|
|
@ -48,7 +48,7 @@ class ParseCommentTelemetry(unittest.TestCase):
|
||||||
bits = None
|
bits = None
|
||||||
|
|
||||||
if len(vals) is 5 and randint(1, 10) > 5:
|
if len(vals) is 5 and randint(1, 10) > 5:
|
||||||
bits = "{:08b}".format(randint(0, 255))[::-1]
|
bits = "{0:08b}".format(randint(0, 255))[::-1]
|
||||||
|
|
||||||
testData = self.genTelem(i, vals, bits)
|
testData = self.genTelem(i, vals, bits)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue