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 8798ad3 commit 52a11f1Copy full SHA for 52a11f1
1 file changed
Lib/test/test_socket.py
@@ -4735,7 +4735,10 @@ def testTypes(self):
4735
types = [socket.SOCK_STREAM, socket.SOCK_DGRAM]
4736
for f in families:
4737
for t in types:
4738
- source = socket.socket(f, t)
+ try:
4739
+ source = socket.socket(f, t)
4740
+ except OSError:
4741
+ continue # This combination is not supported
4742
try:
4743
data = source.share(os.getpid())
4744
shared = socket.fromshare(data)
0 commit comments