mirror of
https://github.com/python/cpython.git
synced 2025-07-12 13:55:34 +00:00
Argh. Typo. :-(
This commit is contained in:
parent
6fb3d5ee92
commit
8e95ca85ae
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue