Skip to content

Commit f243adf

Browse files
committed
fix test_proxy
1 parent 656de6a commit f243adf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

samples/openapi3/client/petstore/python-httpx-sync/tests/test_pet_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ def test_proxy(self):
227227

228228
with self.assertRaisesRegex(
229229
petstore_api.rest.httpx.ConnectError,
230-
"[Errno 111] Connection refused",
230+
"\[Errno 111\] Connection refused",
231231
):
232232
pet_api.get_pet_by_id(self.pet.id)
233233

0 commit comments

Comments
 (0)