[Python-checkins] python/dist/src/Lib/test test_socket_ssl.py,1.8,1.9

tim_one@users.sourceforge.net tim_one@users.sourceforge.net
Tue, 01 Jul 2003 07:49:34 -0700


Update of /cvsroot/python/python/dist/src/Lib/test
In directory sc8-pr-cvs1:/tmp/cvs-serv23530/Lib/test

Modified Files:
	test_socket_ssl.py 
Log Message:
connector():  You can't use an empty string as an argument to connect()
on Windows.


Index: test_socket_ssl.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_socket_ssl.py,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** test_socket_ssl.py	1 Jul 2003 13:44:28 -0000	1.8
--- test_socket_ssl.py	1 Jul 2003 14:49:32 -0000	1.9
***************
*** 46,50 ****
      def connector():
          s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
!         s.connect(('', PORT))
          try:
              ssl_sock = socket.ssl(s)
--- 46,50 ----
      def connector():
          s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
!         s.connect(('localhost', PORT))
          try:
              ssl_sock = socket.ssl(s)