.. attribute:: __spec__
- A record of the the module's import-system-related state. Expected to be
- an instance of :class:`importlib.machinery.ModuleSpec`.
+ A record of the module's import-system-related state. Expected to be an
+ instance of :class:`importlib.machinery.ModuleSpec`.
.. versionadded:: 3.4
.. method:: assert_called_once_with(*args, **kwargs)
- Assert that the mock was called exactly once and that that call was
- with the specified arguments.
+ Assert that the mock was called exactly once and that call was with the
+ specified arguments.
>>> mock = Mock(return_value=None)
>>> mock('foo', bar='baz')