Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cbfb9a5 commit b7eb563Copy full SHA for b7eb563
1 file changed
Lib/test/test_socket.py
@@ -2,6 +2,7 @@
2
3
import unittest
4
from test import support
5
+from unittest.case import _ExpectedFailure
6
7
import errno
8
import io
@@ -241,7 +242,7 @@ def clientRun(self, test_func):
241
242
raise TypeError("test_func must be a callable function")
243
try:
244
test_func()
- except unittest._ExpectedFailure:
245
+ except _ExpectedFailure:
246
# We deliberately ignore expected failures
247
pass
248
except BaseException as e:
0 commit comments