Fix implicit-return in nx584 tests (#122788)

pull/122808/head
epenet 2024-07-29 21:59:59 +02:00 committed by GitHub
parent 5b434ee336
commit 9393dcddb7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -216,8 +216,8 @@ def test_nx584_watcher_run_with_zone_events() -> None:
"""Return nothing twice, then some events."""
if empty_me:
empty_me.pop()
else:
return fake_events
return None
return fake_events
client = mock.MagicMock()
fake_events = [