diff --git a/tests/test_parse_comment_telemetry.py b/tests/test_parse_comment_telemetry.py index 068d50f..5c9058d 100644 --- a/tests/test_parse_comment_telemetry.py +++ b/tests/test_parse_comment_telemetry.py @@ -48,7 +48,7 @@ class ParseCommentTelemetry(unittest.TestCase): bits = None 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)