This would match the behaviour of the equivalent methods in mock
Currently, I can pass new_callable=AsyncMock to make it work, but then mypy type checking fails because the type hints state that the methods return MagicMock. The return type is a union in the mock stubs.
This would match the behaviour of the equivalent methods in
mockCurrently, I can pass
new_callable=AsyncMockto make it work, but then mypy type checking fails because the type hints state that the methods returnMagicMock. The return type is a union in the mock stubs.