From 120ea2c5bb6bab6250daefd09d9e9ffac1577d54 Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Tue, 31 Oct 2023 18:04:40 -0700 Subject: [PATCH] safety test: fix incorrect error message (#1702) don't add a generator --- tests/safety/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/safety/common.py b/tests/safety/common.py index 2b7b084db..0a4f7e52d 100644 --- a/tests/safety/common.py +++ b/tests/safety/common.py @@ -1007,7 +1007,7 @@ class PandaSafetyTest(PandaSafetyTestBase): if attr.startswith('TestHonda'): # exceptions for common msgs across different hondas tx = list(filter(lambda m: m[0] not in [0x1FA, 0x30C, 0x33D], tx)) - all_tx.append([m[0], m[1], attr] for m in tx) + all_tx.append([[m[0], m[1], attr] for m in tx]) # make sure we got all the msgs self.assertTrue(len(all_tx) >= len(test_files)-1)