We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f243adf commit ea0fdddCopy full SHA for ea0fddd
1 file changed
samples/openapi3/client/petstore/python-httpx-sync/tests/test_pet_api.py
@@ -225,9 +225,8 @@ def test_proxy(self):
225
pet_api = petstore_api.PetApi(client)
226
assert self.pet.id is not None
227
228
- with self.assertRaisesRegex(
+ with self.assertRaises(
229
petstore_api.rest.httpx.ConnectError,
230
- "\[Errno 111\] Connection refused",
231
):
232
pet_api.get_pet_by_id(self.pet.id)
233
0 commit comments