(self, expectation)
| 75 | return list(iter(self)) |
| 76 | |
| 77 | def __contains__(self, expectation): |
| 78 | self.expect_frozen() |
| 79 | return any(expectation.test(self.beginning, self.last)) |
| 80 | |
| 81 | def all_occurrences_of(self, expectation): |
| 82 | return tuple(occ for occ in self if occ == expectation) |
nothing calls this directly
no test coverage detected