mirror of
https://github.com/home-assistant/core.git
synced 2025-04-24 09:17:53 +00:00
Fix ruff error (#114364)
This commit is contained in:
parent
393dc289c4
commit
a29dc86f62
@ -1001,7 +1001,7 @@ async def test_quirks_v2_metadata_errors(
|
||||
# if the device was created we remove it
|
||||
# so we don't pollute the rest of the tests
|
||||
zigpy.quirks._DEVICE_REGISTRY.remove(zigpy_device)
|
||||
except ValueError as e:
|
||||
except ValueError:
|
||||
# if the device was not created we remove it
|
||||
# so we don't pollute the rest of the tests
|
||||
zigpy.quirks._DEVICE_REGISTRY._registry_v2.pop(
|
||||
@ -1010,7 +1010,7 @@ async def test_quirks_v2_metadata_errors(
|
||||
"TRADFRI remote control4",
|
||||
)
|
||||
)
|
||||
raise e
|
||||
raise
|
||||
|
||||
|
||||
class BadDeviceClass(enum.Enum):
|
||||
|
Loading…
x
Reference in New Issue
Block a user