8000 Another potential workaround for py26 test failures. · sonlinux/client_python@a7afc96 · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a7afc96

Browse files
committed
Another potential workaround for py26 test failures.
1 parent b084d64 commit a7afc96

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://localhost:{0}'.format(httpd.server_address[1])
115115
class TestServer(threading.Thread):
116116
def run(self):
117117
httpd.handle_request()

0 commit comments

Comments
 (0)
0