diff options
author | Guido van Rossum <guido@python.org> | 2002-06-12 20:55:17 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2002-06-12 20:55:17 (GMT) |
commit | 8e95ca85aef68e1e7ebedbc6ac66c49ffd21d568 (patch) | |
tree | d2adb805fdcbafaffe86236854263bee4fc9f424 /Lib/test/test_socket.py | |
parent | 6fb3d5ee926fc11a2b0f686468a012b0b7b256a4 (diff) | |
download | cpython-8e95ca85aef68e1e7ebedbc6ac66c49ffd21d568.zip cpython-8e95ca85aef68e1e7ebedbc6ac66c49ffd21d568.tar.gz cpython-8e95ca85aef68e1e7ebedbc6ac66c49ffd21d568.tar.bz2 |
Argh. Typo. :-(
Diffstat (limited to 'Lib/test/test_socket.py')
-rw-r--r-- | Lib/test/test_socket.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_socket.py b/Lib/test/test_socket.py index 39d3130..5a569a1 100644 --- a/Lib/test/test_socket.py +++ b/Lib/test/test_socket.py @@ -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) |