summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorDaniel Stutzbach <daniel@stutzbachenterprises.com>2010-09-03 11:11:43 (GMT)
committerDaniel Stutzbach <daniel@stutzbachenterprises.com>2010-09-03 11:11:43 (GMT)
commit06a3c8ae82c76bd0ea21d3860a65bd6ece6ab72e (patch)
tree040195d0c10c2f665bee3982dcbf6d651e04e5b8 /Lib
parent2d444496b39c091be4104125ab61c810654d7a40 (diff)
downloadcpython-06a3c8ae82c76bd0ea21d3860a65bd6ece6ab72e.zip
cpython-06a3c8ae82c76bd0ea21d3860a65bd6ece6ab72e.tar.gz
cpython-06a3c8ae82c76bd0ea21d3860a65bd6ece6ab72e.tar.bz2
fromfd exists on Windows now
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_socket.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/Lib/test/test_socket.py b/Lib/test/test_socket.py
index 5a8aa5a..60a44dc 100644
--- a/Lib/test/test_socket.py
+++ b/Lib/test/test_socket.py
@@ -708,8 +708,6 @@ class BasicTCPTest(SocketConnectedTest):
def testFromFd(self):
# Testing fromfd()
- if not hasattr(socket, "fromfd"):
- return # On Windows, this doesn't exist
fd = self.cli_conn.fileno()
sock = socket.fromfd(fd, socket.AF_INET, socket.SOCK_STREAM)
msg = sock.recv(1024)