Update black to 23.1.0 (#87188)

This commit is contained in:
Franck Nijhof 2023-02-02 18:35:24 +01:00 committed by GitHub
parent f7666239ff
commit 5e81d28116
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
312 changed files with 299 additions and 475 deletions

View file

@ -202,7 +202,9 @@ async def test_invalid_url_on_update(
await hass.config_entries.async_setup(entry.entry_id)
await hass.async_block_till_done()
with patch("homeassistant.components.recorder",), patch(
with patch(
"homeassistant.components.recorder",
), patch(
"homeassistant.components.sql.sensor.sqlalchemy.engine.cursor.CursorResult",
side_effect=SQLAlchemyError(
"sqlite://homeassistant:hunter2@homeassistant.local"