MCPcopy
hub / github.com/urllib3/urllib3 / test_invalid_timeouts

Method test_invalid_timeouts

test/test_util.py:665–669  ·  view source on GitHub ↗
(
        self, kwargs: dict[str, int | bool], message: str
    )

Source from the content-addressed store, hash-verified

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:

Callers

nothing calls this directly

Calls 1

TimeoutClass · 0.90

Tested by

no test coverage detected