8000 Merge pull request #73 from alexandrul/pr2 · Syncano/client_python@83d40c1 · GitHub
[go: up one dir, main page]

Skip to content

Commit 83d40c1

Browse files
committed
Merge pull request prometheus#73 from alexandrul/pr2
Fix test_exposition.py on Windows
2 parents a7c6cc1 + 5519118 commit 83d40c1

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
@@ -102,7 +102,7 @@ def do_PUT(self):
102102
do_POST = do_PUT
103103
do_DELETE = do_PUT
104104

105-
httpd = HTTPServer(('', 0), TestHandler)
105+
httpd = HTTPServer(('localhost', 0), TestHandler)
106106
self.address = ':'.join([str(x) for x in httpd.server_address])
107107
class TestServer(threading.Thread):
108108
def run(self):

0 commit comments

Comments
 (0)
0