mirror of
https://github.com/home-assistant/core.git
synced 2025-07-17 10:17:09 +00:00
Replace OSError aliases with OSError in UVC test (#33673)
This commit is contained in:
parent
262b01d632
commit
59f1a1be93
@ -258,7 +258,7 @@ class TestUVC(unittest.TestCase):
|
|||||||
"""Mock login."""
|
"""Mock login."""
|
||||||
try:
|
try:
|
||||||
responses.pop(0)
|
responses.pop(0)
|
||||||
raise socket.error
|
raise OSError
|
||||||
except IndexError:
|
except IndexError:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user