()
| 112 | |
| 113 | @pytest.mark.network |
| 114 | def test_sync_proxy_close(): |
| 115 | try: |
| 116 | transport = httpx.HTTPTransport(proxy=PROXY_URL) |
| 117 | client = httpx.Client(mounts={"https://": transport}) |
| 118 | client.get("http://example.com") |
| 119 | finally: |
| 120 | client.close() |
| 121 | |
| 122 | |
| 123 | def test_unsupported_proxy_scheme(): |