src/test.py: Why would a test server create a socket?

This commit is contained in:
Valentin Lorentz 2013-02-02 19:51:47 +01:00
parent 13a633eea4
commit 20ad495483

View File

@ -584,7 +584,6 @@ class FakeHTTPConnection(httplib.HTTPConnection):
httplib.HTTPConnection.__init__(self, 'localhost') httplib.HTTPConnection.__init__(self, 'localhost')
self.rfile = rfile self.rfile = rfile
self.wfile = wfile self.wfile = wfile
self.connect()
def send(self, data): def send(self, data):
self.wfile.write(data) self.wfile.write(data)
#def putheader(self, name, value): #def putheader(self, name, value):