Skip to content

Commit

Permalink
Remove unused type comment
Browse files Browse the repository at this point in the history
  • Loading branch information
lundberg committed Jan 28, 2021
1 parent 13178e2 commit 055947e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion respx/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def __init__(
http_version: Optional[str] = None,
**kwargs: Any,
) -> None:
if callable(content) or isinstance(content, (dict, Exception)): # type: ignore
if callable(content) or isinstance(content, (dict, Exception)):
raise ValueError(
f"MockResponse content can only be str, bytes or byte stream"
f"got {content!r}. Please use json=... or side effects."
Expand Down

0 comments on commit 055947e

Please sign in to comment.