class documentation

class IsSequenceOf(BaseMatcher[Sequence[T]]): (source)

View In Hierarchy

Method __init__ Undocumented
Method describe_mismatch Describe the mismatch.
Method describe_to Describe this matcher for error messages.
Instance Variable elementMatcher Undocumented
Method _matches Determine whether every element of the sequence is matched.
def __init__(self, elementMatcher): (source)

Undocumented

Parameters
elementMatcher:Matcher[T]Undocumented
def describe_mismatch(self, item, description): (source)

Describe the mismatch.

Parameters
item:Sequence[T]Undocumented
description:DescriptionUndocumented
def describe_to(self, description): (source)

Describe this matcher for error messages.

Parameters
description:DescriptionUndocumented
elementMatcher = (source)

Undocumented

def _matches(self, item): (source)

Determine whether every element of the sequence is matched.

Parameters
item:Sequence[T]Undocumented
Returns
boolUndocumented