Skip to content

Commit b6bd5bd

Browse files
committed
System packages for readthedocs
1 parent 1a8fb7f commit b6bd5bd

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.readthedocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ build:
3131
# Optionally set the version of Python and requirements required
3232
# to build docs
3333
python:
34+
system_packages: false
3435
install:
3536
- method: pip
3637
path: .
3738
- requirements: requirements-tunnel.txt
3839
- requirements: docs/requirements.txt
39-
system_packages: false
4040

4141
...

tests/http/proxy/test_http2.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ class TestHttp2WithProxy(TestCase):
1818
def test_http2_via_proxy(self) -> None:
1919
assert self.PROXY
2020
response = httpx.get(
21-
"https://www.google.com",
22-
headers={"accept": "application/json"},
21+
'https://www.google.com',
22+
headers={'accept': 'application/json'},
2323
verify=httpx.create_ssl_context(http2=True),
2424
timeout=httpx.Timeout(timeout=5.0),
2525
proxies={
26-
"all://": "http://localhost:%d" % self.PROXY.flags.port,
26+
'all://': 'http://localhost:%d' % self.PROXY.flags.port,
2727
},
2828
)
2929
self.assertEqual(response.status_code, 200)

0 commit comments

Comments
 (0)