use f-strings for the newly merged code from master

Issue: #4324
This commit is contained in:
Ammar Najjar 2020-08-29 07:21:48 +02:00
parent defeaacbc2
commit ffdf6fe100
No known key found for this signature in database
GPG Key ID: 4E358D38135EE7EA
1 changed files with 1 additions and 1 deletions

View File

@ -177,7 +177,7 @@ class AsyncDefAsyncioGenComplexSpider(SimpleSpider):
depth = 2
def _get_req(self, index, cb=None):
return Request(self.mockserver.url("/status?n=200&request=%d" % index),
return Request(self.mockserver.url(f"/status?n=200&request={index}"),
meta={'index': index},
dont_filter=True,
callback=cb)