Skip to content

Commit 920dd4b

Browse files
committed
Typo fix
1 parent 5f7772c commit 920dd4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎Lib/test/support/socket_helper.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ def filter_error(err):
261261
err = a[1]
262262
# The error can also be wrapped as __cause__:
263263
# raise URLError(f"ftp error: {exp}") from exp
264-
elif isinstance(err, urllib.error.UrlError) and err.__cause__:
264+
elif isinstance(err, urllib.error.URLError) and err.__cause__:
265265
err = err.__cause__
266266
else:
267267
break

0 commit comments

Comments
 (0)