8000 Potential workaround for py26 test failures. · pythonAI/client_python@62e8012 · GitHub
[go: up one dir, main page]

Skip to content

Commit 62e8012

Browse files
committed
Potential workaround for py26 test failures.
1 parent 444a748 commit 62e8012

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_exposition.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def do_PUT(self):
111111
do_DELETE = do_PUT
112112

113113
httpd = HTTPServer(('localhost', 0), TestHandler)
114-
self.address = ':'.join([str(x) for x in httpd.server_address])
114+
self.address = 'http://{0}'.format(':'.join([str(x) for x in httpd.server_address]))
115115
class TestServer(threading.Thread):
116116
def run(self):
117117
httpd.handle_request()

0 commit comments

Comments
 (0)
0