testtools.matchers._basic.SameMembers(Matcher)
class documentationtesttools.matchers._basic
(View In Hierarchy)
Matches if two iterators have the same members.
This is not the same as set equivalence. The two iterators must be of the same length and have the same repetitions.
Method | __init__ | Undocumented |
Method | __str__ | Get a sensible human representation of the matcher. |
Method | match | Return None if this matcher matches something, a Mismatch otherwise. |
Get a sensible human representation of the matcher.
This should include the parameters given to the matcher and any state that would affect the matches operation.