Skip to content

Commit e561c69

Browse files
committed
test
1 parent bb2987b commit e561c69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_async.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ async def test_detailed_exception(self):
304304
with self.assertRaises(httpx.HTTPStatusError) as e:
305305
await client.get("/endpoint")
306306

307-
assert "Error '404 Not Found Because of x' for url 'https://api.example.com/endpoint'" in str(e.exception)
307+
assert "Client error '404 Not Found' for url 'https://api.example.com/endpoint'" in str(e.exception)
308308

309309
if __name__ == "__main__":
310310
unittest.main()

0 commit comments

Comments
 (0)