Re-enable Ruff UP024 (#86784)
This commit is contained in:
parent
a79885ceaf
commit
3ff3834cae
3 changed files with 2 additions and 3 deletions
|
@ -1457,7 +1457,7 @@ async def test_event_listener_scheduled_write(
|
|||
)
|
||||
event = MagicMock(data={"new_state": state}, time_fired=12345)
|
||||
write_api = get_write_api(mock_client)
|
||||
write_api.side_effect = IOError("foo")
|
||||
write_api.side_effect = OSError("foo")
|
||||
|
||||
# Write fails
|
||||
with patch.object(influxdb.time, "sleep") as mock_sleep:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue