Scrapy, a fast high-level web crawling & scraping framework for Python.
fixed failing test on win32
Pablo Hoffman42e8346d0689
diff --git a/scrapy/tests/test_command_fetch.py b/scrapy/tests/test_command_fetch.pyindex c1b429c2a..2e36c8c6e 100644--- a/scrapy/tests/test_command_fetch.py+++ b/scrapy/tests/test_command_fetch.py@@ -17,6 +17,7 @@ class FetchTest(ProcessTest, SiteTest, unittest.TestCase):@defer.inlineCallbacksdef test_headers(self):_, out, _ = yield self.execute([self.url('/text'), '--headers'])+ out = out.replace('\r', '') # required on win32headers = eval(out)assert 'TwistedWeb' in headers['Server'][0]self.assertEqual(headers['Content-Type'], ['text/plain'])