summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/test/test_socket.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_socket.py b/Lib/test/test_socket.py
index 301cd70..e811348 100644
--- a/Lib/test/test_socket.py
+++ b/Lib/test/test_socket.py
@@ -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()