diff --git a/starlette/testclient.py b/starlette/testclient.py index 69a930bad..020f0a0d5 100644 --- a/starlette/testclient.py +++ b/starlette/testclient.py @@ -17,6 +17,7 @@ import anyio import anyio.abc import anyio.from_thread +from anyio.abc import ObjectReceiveStream, ObjectSendStream from anyio.streams.stapled import StapledObjectStream from starlette._utils import collapse_excgroups, is_async_callable