Scrapy, a fast high-level web crawling & scraping framework for Python.
Creating a connection to 0.0.0.0 fails on windows but not on linux nor mac
Daniel Graña0e532e3dd8b4
diff --git a/tests/mockserver.py b/tests/mockserver.pyindex f36ce3c44..bf62fe907 100644--- a/tests/mockserver.py+++ b/tests/mockserver.py@@ -209,7 +209,7 @@ class MockServer():time.sleep(0.2)def url(self, path, is_secure=False):- host = self.http_address+ host = self.http_address.replace('0.0.0.0', '127.0.0.1')if is_secure:host = self.https_addressreturn host + path