We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 017aec0 commit 0826b59Copy full SHA for 0826b59
tests/test__helpers.py
@@ -628,9 +628,8 @@ def test_parse_request_body_json_type_error():
628
with mock.patch("json.loads", side_effect=TypeError):
629
# json.loads should raise a TypeError, and the function should return the
630
# original string
631
- assert (
632
- _helpers._parse_request_body(body, "application/json")
633
- == body.decode("utf-8")
+ assert _helpers._parse_request_body(body, "application/json") == body.decode(
+ "utf-8"
634
)
635
636
0 commit comments