Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
dklimpel committed May 22, 2022
1 parent 79430b9 commit 78c4a8a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/http/test_servlet.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@ def test_parse_json_value(self):
with self.assertRaises(SynapseError):
parse_json_value_from_request(make_request(b""))

result3 = parse_json_value_from_request(make_request(b""), allow_empty_body=True)
result3 = parse_json_value_from_request(
make_request(b""), allow_empty_body=True
)
self.assertIsNone(result3)

# Invalid UTF-8.
Expand Down

0 comments on commit 78c4a8a

Please sign in to comment.