Assert_called_with matching a type

Hey folks,

Is there an easy way to do this:

from unittest.mock import Mock
m = Mock()
...
m.assert_called_once_with(<this param was an int object>, ...)

Normally we know the explicit thing we want to assert it being called with. Other times, we may just know a type. Is there a way to do it with just the type (without needing to hop into .mock_calls)?

Thanks!