[Python-checkins] python/dist/src/Lib/test test_socket.py,1.28,1.29
gvanrossum@users.sourceforge.net
gvanrossum@users.sourceforge.net
Wed, 12 Jun 2002 13:55:20 -0700
Update of /cvsroot/python/python/dist/src/Lib/test
In directory usw-pr-cvs1:/tmp/cvs-serv4602
Modified Files:
test_socket.py
Log Message:
Argh. Typo. :-(
Index: test_socket.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_socket.py,v
retrieving revision 1.28
retrieving revision 1.29
diff -C2 -d -r1.28 -r1.29
*** test_socket.py 12 Jun 2002 20:48:59 -0000 1.28
--- test_socket.py 12 Jun 2002 20:55:17 -0000 1.29
***************
*** 324,328 ****
def testFromFd(self):
"""Testing fromfd()."""
! if not hasattr(socket, fromfd):
return # On Windows, this doesn't exist
fd = self.cli_conn.fileno()
--- 324,328 ----
def testFromFd(self):
"""Testing fromfd()."""
! if not hasattr(socket, "fromfd"):
return # On Windows, this doesn't exist
fd = self.cli_conn.fileno()