Searched refs:_connection_class (Results 1 - 3 of 3) sorted by relevance

/external/python/cpython2/Lib/test/
H A Dtest_urllib.py59 assert httplib.HTTP._connection_class == httplib.HTTPConnection
61 httplib.HTTP._connection_class = fakehttp(fakedata)
64 httplib.HTTP._connection_class = httplib.HTTPConnection
335 fakehttp_wrapper = httplib.HTTP._connection_class
352 fakehttp_wrapper = httplib.HTTP._connection_class
/external/python/cpython2/Lib/
H A Dhttplib.py1146 _connection_class = HTTPConnection variable in class:HTTP
1158 self._setup(self._connection_class(host, port, strict))
1275 _connection_class = HTTPSConnection variable in class:.HTTPS
1284 self._setup(self._connection_class(host, port, key_file,
/external/python/cpython3/Lib/test/
H A Dtest_urllib.py100 self._connection_class = http.client.HTTPConnection
104 http.client.HTTPConnection = self._connection_class

Completed in 92 milliseconds