Commit 8e95ca85 authored by Guido van Rossum's avatar Guido van Rossum

Argh. Typo. :-(

parent 6fb3d5ee
......@@ -323,7 +323,7 @@ class BasicTCPTest(SocketConnectedTest):
def testFromFd(self):
"""Testing fromfd()."""
if not hasattr(socket, 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)
......
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