schema_salad.tests.matcher
==========================

.. py:module:: schema_salad.tests.matcher


Classes
-------

.. autoapisummary::

   schema_salad.tests.matcher.JsonDiffMatcher


Functions
---------

.. autoapisummary::

   schema_salad.tests.matcher.StripYAMLComments


Module Contents
---------------

.. py:class:: JsonDiffMatcher(expected)

   Raise AssertionError with a readable JSON diff when not __eq__().

   Used with assert_called_with() so it's possible for a human to see
   the differences between expected and actual call arguments that
   include non-trivial data structures.


   .. py:attribute:: expected


   .. py:method:: __eq__(actual)


.. py:function:: StripYAMLComments(yml)

