Object Matchers
---------------

Matchers that inspect objects.

See also, :ref:`Object matcher internals<object-matcher-internals>`


equal_to
^^^^^^^^

.. currentmodule:: hamcrest.core.core.isequal
.. autofunction:: equal_to

has_length
^^^^^^^^^^

.. currentmodule:: hamcrest.library.object.haslength
.. autofunction:: has_length

has_string
^^^^^^^^^^

.. currentmodule:: hamcrest.library.object.hasstring
.. autofunction:: has_string

has_properties/has_property
^^^^^^^^^^^^^^^^^^^^^^^^^^^

.. currentmodule:: hamcrest.library.object.hasproperty
.. autofunction:: has_properties
.. autofunction:: has_property

instance_of
^^^^^^^^^^^

.. currentmodule:: hamcrest.core.core.isinstanceof
.. autofunction:: instance_of

none, not_none
^^^^^^^^^^^^^^

.. currentmodule:: hamcrest.core.core.isnone
.. autofunction:: none
.. autofunction:: not_none


same_instance
^^^^^^^^^^^^^

.. currentmodule:: hamcrest.core.core.issame
.. autofunction:: same_instance

calling, raises
^^^^^^^^^^^^^^^

.. currentmodule:: hamcrest.core.core.raises
.. autofunction:: calling
.. autofunction:: raises
