Replace OSError aliases with OSError in UVC test (#33673)
This commit is contained in:
1 parent
262b01d632
commit
59f1a1be93
1 file changed
+1
-1
@@ -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