(self, first, last)
| 924 | return expectation == self |
| 925 | |
| 926 | def test(self, first, last): |
| 927 | assert isinstance(first, Occurrence) |
| 928 | assert isinstance(last, Occurrence) |
| 929 | |
| 930 | for occ in first.and_following(up_to=last, inclusive=True): |
| 931 | if occ is self: |
| 932 | yield {self: self} |
| 933 | |
| 934 | def __lt__(self, occurrence): |
| 935 | return self.precedes(occurrence) |
no test coverage detected