Scrapy, a fast high-level web crawling & scraping framework for Python.
fix: test_cache_json_response
Jalil SAfd4292b722ed
diff --git a/tests/test_http_response.py b/tests/test_http_response.pyindex 54f0461e8..80d46274b 100644--- a/tests/test_http_response.py+++ b/tests/test_http_response.py@@ -844,7 +844,7 @@ class TextResponseTest(BaseResponseTest):with mock.patch("json.loads") as mock_json:for _ in range(2):json_response.json()- mock_json.assert_called_once_with(json_body.decode())+ mock_json.assert_called_once_with(json_body)class HtmlResponseTest(TextResponseTest):