()
| 468 | |
| 469 | |
| 470 | def test_matches() -> None: |
| 471 | rg = RaisesGroup(ValueError) |
| 472 | assert not rg.matches(None) |
| 473 | assert not rg.matches(ValueError()) |
| 474 | assert rg.matches(ExceptionGroup("", (ValueError(),))) |
| 475 | |
| 476 | re = RaisesExc(ValueError) |
| 477 | assert not re.matches(None) |
| 478 | assert re.matches(ValueError()) |
| 479 | |
| 480 | |
| 481 | def test_message() -> None: |
nothing calls this directly
no test coverage detected