mirror of
https://github.com/home-assistant/core.git
synced 2025-08-04 13:15:18 +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."""
|
"""Mock login."""
|
||||||
try:
|
try:
|
||||||
responses.pop(0)
|
responses.pop(0)
|
||||||
raise socket.error
|
raise OSError
|
||||||
except IndexError:
|
except IndexError:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user