From c5b75168e9553ef8893213a36038889db003258c Mon Sep 17 00:00:00 2001 From: William Bonilla <47262366+WilliamBonilla62@users.noreply.github.com> Date: Mon, 28 Apr 2025 16:30:16 -0400 Subject: [PATCH] Fix test_update_returns_state to flatten Kalman output (#35083) fix(tests): flatten Kalman filter output in test_update_returns_state --- common/tests/test_simple_kalman.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/tests/test_simple_kalman.py b/common/tests/test_simple_kalman.py index f4a967e58a..e44ac2cc57 100644 --- a/common/tests/test_simple_kalman.py +++ b/common/tests/test_simple_kalman.py @@ -24,6 +24,6 @@ class TestSimpleKalman: self.kf.set_x([[1.0], [1.0]]) assert self.kf.x == [[1.0], [1.0]] - def update_returns_state(self): + def test_update_returns_state(self): x = self.kf.update(100) - assert x == self.kf.x + assert x == [i[0] for i in self.kf.x]