mypy: Remove unused type: ignore comments.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2021-03-04 15:09:27 -08:00
parent 5b5fda2354
commit 30f241a126
7 changed files with 10 additions and 8 deletions

View file

@ -25,7 +25,7 @@ def mock_http_conversation(http_data: Dict[str, Any]) -> Any:
if is_raw_response:
mock_result._content = http_response.encode() # type: ignore # This modifies a "hidden" attribute.
else:
mock_result._content = json.dumps(http_response).encode() # type: ignore # See above.
mock_result._content = json.dumps(http_response).encode()
mock_result.status_code = http_headers.get('status', 200)
return mock_result