Skip to content

Commit

Permalink
Fix typo when creating exception
Browse files Browse the repository at this point in the history
Summary: As title

Reviewed By: deathowl

Differential Revision: D54228298

fbshipit-source-id: 1916d0da1ca302c0b736a859415c7db4a1049408
  • Loading branch information
Atul Nambudiri authored and facebook-github-bot committed Feb 27, 2024
1 parent 2a18d5e commit 085fa47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testslide/mock_callable.py
Original file line number Diff line number Diff line change
Expand Up @@ -737,7 +737,7 @@ def _validate_patch(
)
if inspect.isclass(original_callable):
raise ValueError(
f"{name}() can not be used with with classes: "
f"{name}() can not be used with classes: "
f"{repr(original_callable)}. Perhaps you want to use "
"mock_constructor() instead."
)
Expand Down

0 comments on commit 085fa47

Please sign in to comment.