[Jython-checkins] jython (merge 2.5 -> default): Merge w/2.5 - Removing a test that i no longer relevant

alan.kennedy jython-checkins at python.org
Sat Mar 17 19:21:37 CET 2012


http://hg.python.org/jython/rev/5add107a20c8
changeset:   6406:5add107a20c8
parent:      6404:ccccccdfa27d
parent:      6405:721ccc9ef13d
user:        Alan Kennedy <alan at xhaus.com>
date:        Sat Mar 17 18:17:41 2012 +0000
summary:
  Merge w/2.5 - Removing a test that i 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