Scrapy, a fast high-level web crawling & scraping framework for Python.
py26 can not format zero length fields {}
Daniel Graña92826586d5f2
diff --git a/scrapy/tests/test_crawl.py b/scrapy/tests/test_crawl.pyindex 10219a602..1878f7a1d 100644--- a/scrapy/tests/test_crawl.py+++ b/scrapy/tests/test_crawl.py@@ -112,7 +112,7 @@ Connection: closefoo bodywith multiples lines'''})- spider = SimpleSpider("http://localhost:8998/raw?{}".format(query))+ spider = SimpleSpider("http://localhost:8998/raw?{0}".format(query))yield docrawl(spider)log = get_testlog()self.assertEqual(log.count("Got response 200"), 1)