archrelease: copy trunk to community-any
[ArchLinux/community.git] / python-httpx / trunk / uvicorn-test-server-use-h11.diff
blob2170c36746478c8dbaa9451825a226ca83c77352
1 diff --git a/tests/conftest.py b/tests/conftest.py
2 index 970c353..1ea3aa9 100644
3 --- a/tests/conftest.py
4 +++ b/tests/conftest.py
5 @@ -304,7 +304,7 @@ def serve_in_thread(server: Server):
7 @pytest.fixture(scope="session")
8 def server() -> typing.Iterator[TestServer]:
9 - config = Config(app=app, lifespan="off", loop="asyncio")
10 + config = Config(app=app, lifespan="off", loop="asyncio", http="h11")
11 server = TestServer(config=config)
12 yield from serve_in_thread(server)