(self, first, last)
| 724 | return self.expectations[0] |
| 725 | |
| 726 | def test(self, first, last): |
| 727 | assert isinstance(first, Occurrence) |
| 728 | assert isinstance(last, Occurrence) |
| 729 | |
| 730 | for reasons in self.expectation.test(first, last): |
| 731 | occs = reasons.values() |
| 732 | if self.condition(*occs): |
| 733 | yield reasons |
| 734 | |
| 735 | def describe(self, newline): |
| 736 | yield "?" |