diff --git a/tests/localthings/test_coordinator.py b/tests/localthings/test_coordinator.py index e77da3b..cc289fc 100644 --- a/tests/localthings/test_coordinator.py +++ b/tests/localthings/test_coordinator.py @@ -772,7 +772,7 @@ async def test_attempt_observe_mode_discards_stale_commit_after_session_swap( other = FakeObserveSession() def _swap_session_mid_wait(subscribed, grace_period_s, success_fraction=None): - coordinator._session = other + coordinator._session = other # ty: ignore[invalid-assignment] return True with patch.object(