diff --git a/selfdrive/car/tests/test_fw_fingerprint.py b/selfdrive/car/tests/test_fw_fingerprint.py index b87185c440..a648f773f2 100755 --- a/selfdrive/car/tests/test_fw_fingerprint.py +++ b/selfdrive/car/tests/test_fw_fingerprint.py @@ -4,7 +4,6 @@ import random import time import unittest from collections import defaultdict -from unittest import mock from parameterized import parameterized import threading @@ -197,7 +196,7 @@ class TestFwFingerprintTiming(unittest.TestCase): return {} def _benchmark_brand(self, brand, num_pandas): - query_patch = mock.patch("openpilot.selfdrive.car.isotp_parallel_query.IsoTpParallelQuery.get_data", self.fake_get_data) + query_patch = unittest.mock.patch("openpilot.selfdrive.car.isotp_parallel_query.IsoTpParallelQuery.get_data", self.fake_get_data) query_patch.start() fake_socket = FakeSocket()