(self)
| 709 | assert "<MY42 object> < 0" in msg |
| 710 | |
| 711 | def test_formatchar(self) -> None: |
| 712 | def f() -> None: |
| 713 | assert "%test" == "test" # type: ignore[comparison-overlap] |
| 714 | |
| 715 | msg = getmsg(f) |
| 716 | assert msg is not None |
| 717 | assert msg.startswith("assert '%test' == 'test'") |
| 718 | |
| 719 | def test_custom_repr(self, request) -> None: |
| 720 | def f() -> None: |