diff options
| author | Georg Brandl <georg@python.org> | 2008-05-26 16:32:26 +0000 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2008-05-26 16:32:26 +0000 |
| commit | 2442015af26321083d4a2d75c096c8b732f049b2 (patch) | |
| tree | 24cb8bc1fd46815ecc6e795cfcc008e7a576c672 /Lib/test/test_docxmlrpc.py | |
| parent | 744c2cd32585c1aeb1b78063cc6dda740d59c0c0 (diff) | |
| download | cpython-git-2442015af26321083d4a2d75c096c8b732f049b2.tar.gz | |
Create http package. #2883.
Diffstat (limited to 'Lib/test/test_docxmlrpc.py')
| -rw-r--r-- | Lib/test/test_docxmlrpc.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_docxmlrpc.py b/Lib/test/test_docxmlrpc.py index 9cb9ffbd48..d1799a2345 100644 --- a/Lib/test/test_docxmlrpc.py +++ b/Lib/test/test_docxmlrpc.py @@ -1,5 +1,5 @@ from xmlrpc.server import DocXMLRPCServer -import httplib +import http.client from test import support import threading import time @@ -65,7 +65,7 @@ class DocXMLRPCHTTPGETServer(unittest.TestCase): time.sleep(0.001) n -= 1 - self.client = httplib.HTTPConnection("localhost:%d" % PORT) + self.client = http.client.HTTPConnection("localhost:%d" % PORT) def tearDown(self): self.client.close() |
