From 69304cd4a24c93bf6ee38690f687f6316a7b1dd2 Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Fri, 15 Dec 2023 00:23:17 -0800 Subject: [PATCH] what --- selfdrive/car/tests/test_models.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/selfdrive/car/tests/test_models.py b/selfdrive/car/tests/test_models.py index 15460de4a6..6e5a24b9cd 100755 --- a/selfdrive/car/tests/test_models.py +++ b/selfdrive/car/tests/test_models.py @@ -158,7 +158,6 @@ class TestCarModelBase(unittest.TestCase): assert cls.CP.carFingerprint == cls.car_model cls.car_state_dict = {'panda': {'gas_pressed': False}, 'CS': {'gasPressed': False}} - cls.init_gas_pressed = False @classmethod def tearDownClass(cls): @@ -366,9 +365,6 @@ class TestCarModelBase(unittest.TestCase): # CC = car.CarControl.new_message() # CS = self.CI.update(CC, (can.to_bytes(),)) - if self.safety.get_gas_pressed_prev(): - self.init_gas_pressed = True - # due to panda updating state selectively, only edges are expected to match # print('ret.gas', CS.gas, 'safety gas', self.safety.get_gas_interceptor_prev())