Commit de2aab06 authored by Georg Brandl's avatar Georg Brandl

Disable test_socket_ssl timeout test on Windows.

parent 8df1e79d
# Test just the SSL support in the socket module, in a moderately bogus way. # Test just the SSL support in the socket module, in a moderately bogus way.
import sys
from test import test_support from test import test_support
import socket import socket
...@@ -26,7 +27,8 @@ def test_basic(): ...@@ -26,7 +27,8 @@ def test_basic():
buf = f.read() buf = f.read()
f.close() f.close()
def test_timeout(): if not sys.platform.startswith('win'):
def test_timeout():
test_support.requires('network') test_support.requires('network')
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment