Closed
Description
Using patch.object
from unittest.mock
throws:
error: Callable[[Any, Any, Any, Any, Any, Any, Any, KwArg(Any)], Any] has no attribute "object"
Is this because object
is added dynamically to patch
? Is there a way to fix this and/or ignore all errors of this kind?
I can provide a runnable example if you'd like.
Metadata
Metadata
Assignees
Labels
No labels