]> granicus.if.org Git - python/commitdiff
Enable test_socket again, if only to prevent mistakes like Jeremy
authorGuido van Rossum <guido@python.org>
Wed, 31 Jul 2002 16:08:40 +0000 (16:08 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 31 Jul 2002 16:08:40 +0000 (16:08 +0000)
thinking that he was running his new test by running "make test".
Also, I can't get this to fail any more.  Your turn. :-)

Lib/test/test_socket.py

index 301cd70499bbe45dd5bd38f80ba0d8f5776ae89a..e811348b18b26f3dd6371a9f15bfe0d2ce72b354 100644 (file)
@@ -546,7 +546,7 @@ class FileObjectClassTestCase(SocketConnectedTest):
         self.cli_file.write(MSG)
         self.cli_file.flush()
 
-def main():
+def test_main():
     suite = unittest.TestSuite()
     suite.addTest(unittest.makeSuite(GeneralModuleTests))
     suite.addTest(unittest.makeSuite(BasicTCPTest))
@@ -556,4 +556,4 @@ def main():
     test_support.run_suite(suite)
 
 if __name__ == "__main__":
-    main()
+    test_main()