mirror of
https://github.com/home-assistant/core.git
synced 2025-07-16 09:47:13 +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."""
|
||||
try:
|
||||
responses.pop(0)
|
||||
raise socket.error
|
||||
raise OSError
|
||||
except IndexError:
|
||||
pass
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user