[Jython-checkins] jython (2.5): Removing a test that is no longer relevant
alan.kennedy
jython-checkins at python.org
Sat Mar 17 19:21:37 CET 2012
http://hg.python.org/jython/rev/721ccc9ef13d
changeset: 6405:721ccc9ef13d
branch: 2.5
parent: 6306:5fa0a5810b25
user: Alan Kennedy <alan at xhaus.com>
date: Sat Mar 17 18:09:35 2012 +0000
summary:
Removing a test that is no longer relevant
files:
Lib/test/test_socket_jy.py | 25 -------------------------
1 files changed, 0 insertions(+), 25 deletions(-)
diff --git a/Lib/test/test_socket_jy.py b/Lib/test/test_socket_jy.py
deleted file mode 100644
--- a/Lib/test/test_socket_jy.py
+++ /dev/null
@@ -1,25 +0,0 @@
-import httplib
-import socket
-import sys
-from test import test_support
-import unittest
-
-
-class SocketIPv6Test(unittest.TestCase):
-
- def test_connect_localhost(self):
- '''Ensures a correct socket.error message'''
- conn = httplib.HTTPConnection('localhost', 18080)
- body = ""
- headers = {}
- try:
- conn.request("GET", "/RELEASE-NOTES.txt", body, headers)
- except socket.error:
- pass # used to get an AssertionError (see bug 1697)
-
-
-def test_main():
- test_support.run_unittest(SocketIPv6Test)
-
-if __name__ == "__main__":
- test_main()
--
Repository URL: http://hg.python.org/jython
More information about the Jython-checkins
mailing list