summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2002-07-31 16:08:40 (GMT)
committerGuido van Rossum <guido@python.org>2002-07-31 16:08:40 (GMT)
commitb995eb79a0be45411985af5ade93821395b6997f (patch)
tree065ad469b76580055e8c1c98522126d152e8eecc /Lib
parentcbd5b89571ee4d619bff2a264cc8a946cc98845f (diff)
downloadcpython-b995eb79a0be45411985af5ade93821395b6997f.zip
cpython-b995eb79a0be45411985af5ade93821395b6997f.tar.gz
cpython-b995eb79a0be45411985af5ade93821395b6997f.tar.bz2
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. :-)
Diffstat (limited to 'Lib')
-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()