]> git.ipfire.org Git - thirdparty/starlette.git/commitdiff
Remove deprecated `app` argument passed to `httpx.Client` on the `TestClient` (#2526)
authorTakeshi OSOEKAWA <osoken@users.noreply.github.com>
Mon, 26 Feb 2024 08:42:52 +0000 (17:42 +0900)
committerGitHub <noreply@github.com>
Mon, 26 Feb 2024 08:42:52 +0000 (01:42 -0700)
starlette/testclient.py

index e7291a2082fbdb3de8d2870934d1ee1148a33b43..d076331c188c97c5075f4e42c4e8204d7f0692f9 100644 (file)
@@ -453,7 +453,6 @@ class TestClient(httpx.Client):
             headers = {}
         headers.setdefault("user-agent", "testclient")
         super().__init__(
-            app=self.app,
             base_url=base_url,
             headers=headers,
             transport=transport,