mirror of
https://github.com/home-assistant/core.git
synced 2025-08-04 21:25:13 +02:00
Replace OSError aliases with OSError in UVC test (#33673)
This commit is contained in:
@@ -258,7 +258,7 @@ class TestUVC(unittest.TestCase):
|
||||
"""Mock login."""
|
||||
try:
|
||||
responses.pop(0)
|
||||
raise socket.error
|
||||
raise OSError
|
||||
except IndexError:
|
||||
pass
|
||||
|
||||
|
Reference in New Issue
Block a user