Unlike hamcrest, tms uses the
__eq__ method to evaluate comparisons. This means it works with python’s
built in assert statement. This also means it works well with other test
libraries: you can drop a tms.Matcher object into any regular equality
test and have it work.

Note that this also means that it may not work for objects that override
the __eq__ method. If the matcher doesn’t seem to be firing, try putting it on
the left hand side of the comparison: