diff --git a/sanic/testing.py b/sanic/testing.py
index <HASH>..<HASH> 100644
--- a/sanic/testing.py
+++ b/sanic/testing.py
@@ -185,7 +185,7 @@ async def app_call_with_return(self, scope, receive, send):
     return await asgi_app()
 
 
-class SanicASGIDispatch(httpx.dispatch.asgi.ASGIDispatch):
+class SanicASGIDispatch(httpx.ASGIDispatch):
     pass
Import ASGIDispatch from top-level httpx (#<I>)

As importing from submodules of httpx is deprecated and removed in <I>