8000 Fix test_exposition.py on Windows · devopstiger/client_python@5519118 · GitHub
[go: up one dir, main page]

Skip to content

Commit 5519118

Browse files
committed
Fix test_exposition.py on Windows
1 parent a08b4bd commit 5519118

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