[Python-checkins] python/dist/src/Lib/test test_socket.py,1.46,1.47
gvanrossum@users.sourceforge.net
gvanrossum@users.sourceforge.net
Wed, 31 Jul 2002 09:08:43 -0700
Update of /cvsroot/python/python/dist/src/Lib/test
In directory usw-pr-cvs1:/tmp/cvs-serv934
Modified Files:
test_socket.py
Log Message:
Enable test_socket again, if only to prevent mistakes like Jeremy
thinking that he was running his new test by running "make test".
Also, I can't get this to fail any more. Your turn. :-)
Index: test_socket.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_socket.py,v
retrieving revision 1.46
retrieving revision 1.47
diff -C2 -d -r1.46 -r1.47
*** test_socket.py 31 Jul 2002 15:57:39 -0000 1.46
--- test_socket.py 31 Jul 2002 16:08:40 -0000 1.47
***************
*** 547,551 ****
self.cli_file.flush()
! def main():
suite = unittest.TestSuite()
suite.addTest(unittest.makeSuite(GeneralModuleTests))
--- 547,551 ----
self.cli_file.flush()
! def test_main():
suite = unittest.TestSuite()
suite.addTest(unittest.makeSuite(GeneralModuleTests))
***************
*** 557,559 ****
if __name__ == "__main__":
! main()
--- 557,559 ----
if __name__ == "__main__":
! test_main()