(self)
| 373 | ) |
| 374 | |
| 375 | def test_no_ssl(self) -> None: |
| 376 | with HTTPSConnectionPool(self.host, self.port) as pool: |
| 377 | pool.ConnectionCls = None # type: ignore[assignment] |
| 378 | with pytest.raises(ImportError): |
| 379 | pool._new_conn() |
| 380 | with pytest.raises(ImportError): |
| 381 | pool.request("GET", "/", retries=0) |
| 382 | |
| 383 | def test_unverified_ssl(self) -> None: |
| 384 | """Test that bare HTTPSConnection can connect, make requests""" |
nothing calls this directly
no test coverage detected