mirror of https://github.com/scrapy/scrapy.git
py26 can not format zero length fields {}
This commit is contained in:
parent
b15470dd20
commit
abf756fc5c
|
|
@ -112,7 +112,7 @@ Connection: close
|
|||
foo body
|
||||
with 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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue