(self, other)
| 594 | |
| 595 | # This lets us sort tests by name: |
| 596 | def __lt__(self, other): |
| 597 | if not isinstance(other, DocTest): |
| 598 | return NotImplemented |
| 599 | self_lno = self.lineno if self.lineno is not None else -1 |
| 600 | other_lno = other.lineno if other.lineno is not None else -1 |
| 601 | return ((self.name, self.filename, self_lno, id(self)) |
| 602 | < |
| 603 | (other.name, other.filename, other_lno, id(other))) |
| 604 | |
| 605 | ###################################################################### |
| 606 | ## 3. DocTestParser |
nothing calls this directly
no test coverage detected