mirror of
https://github.com/python/cpython.git
synced 2025-08-01 07:33:08 +00:00
Whitespace normalization. Ugh, we really need to do this more often.
You might want to review this change as it's my first time. Be gentle. :-)
This commit is contained in:
parent
e47c508850
commit
0d4c06e06e
38 changed files with 386 additions and 387 deletions
|
@ -154,7 +154,7 @@ PORT = 50003
|
|||
HOST = "localhost"
|
||||
|
||||
class TimeoutTest(TestCase):
|
||||
|
||||
|
||||
def setUp(self):
|
||||
self.serv = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
|
||||
self.serv.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
|
||||
|
@ -175,7 +175,7 @@ class TimeoutTest(TestCase):
|
|||
httpConn.connect()
|
||||
self.assertTrue(httpConn.sock.gettimeout() is None)
|
||||
httpConn.close()
|
||||
|
||||
|
||||
# a value
|
||||
httpConn = httplib.HTTPConnection(HOST, PORT, timeout=30)
|
||||
httpConn.connect()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue