

def test_noncrawlable_body(self):
    (req, resp) = self._req_resp('http://example.com/', {
        
    }, {
        'body': b'<html></html>',
    })
    resp2 = self.mw.process_response(req, resp, self.spider)
    self.assertIs(resp, req)

dataset/ETHPy150Open scrapy/scrapy/tests/test_downloadermiddleware_ajaxcrawlable.py AjaxCrawlMiddlewareTest.test_noncrawlable_body/VarMisuse@60/84 `resp2`->`req`