[Python-checkins] r84449 - python/branches/py3k/Lib/test/test_socket.py
daniel.stutzbach
python-checkins at python.org
Fri Sep 3 13:11:43 CEST 2010
Author: daniel.stutzbach
Date: Fri Sep 3 13:11:43 2010
New Revision: 84449
Log:
fromfd exists on Windows now
Modified:
python/branches/py3k/Lib/test/test_socket.py
Modified: python/branches/py3k/Lib/test/test_socket.py
==============================================================================
--- python/branches/py3k/Lib/test/test_socket.py (original)
+++ python/branches/py3k/Lib/test/test_socket.py Fri Sep 3 13:11:43 2010
@@ -708,8 +708,6 @@
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)
More information about the Python-checkins
mailing list