(self)
| 720 | assert timeout.read_timeout == 3 |
| 721 | |
| 722 | def test_timeout_str(self) -> None: |
| 723 | timeout = Timeout(connect=1, read=2, total=3) |
| 724 | assert str(timeout) == "Timeout(connect=1, read=2, total=3)" |
| 725 | timeout = Timeout(connect=1, read=None, total=3) |
| 726 | assert str(timeout) == "Timeout(connect=1, read=None, total=3)" |
| 727 | |
| 728 | @patch("time.monotonic") |
| 729 | def test_timeout_elapsed(self, time_monotonic: MagicMock) -> None: |