(
self, kwargs: dict[str, int | bool], message: str
)
| 663 | ], |
| 664 | ) |
| 665 | def test_invalid_timeouts( |
| 666 | self, kwargs: dict[str, int | bool], message: str |
| 667 | ) -> None: |
| 668 | with pytest.raises(ValueError, match=message): |
| 669 | Timeout(**kwargs) |
| 670 | |
| 671 | @patch("time.monotonic") |
| 672 | def test_timeout(self, time_monotonic: MagicMock) -> None: |