@@ -712,7 +712,7 @@ def test_retrying_timeout_errors_doesnt_leak(self, respx_mock: MockRouter) -> No
712712 with pytest .raises (APITimeoutError ):
713713 self .client .post (
714714 "/customers" ,
715- body = dict (email = "example-customer@withorb.com" , name = "My Customer" ),
715+ body = cast ( object , dict (email = "example-customer@withorb.com" , name = "My Customer" ) ),
716716 cast_to = httpx .Response ,
717717 options = {"headers" : {RAW_RESPONSE_HEADER : "stream" }},
718718 )
@@ -727,7 +727,7 @@ def test_retrying_status_errors_doesnt_leak(self, respx_mock: MockRouter) -> Non
727727 with pytest .raises (APIStatusError ):
728728 self .client .post (
729729 "/customers" ,
730- body = dict (email = "example-customer@withorb.com" , name = "My Customer" ),
730+ body = cast ( object , dict (email = "example-customer@withorb.com" , name = "My Customer" ) ),
731731 cast_to = httpx .Response ,
732732 options = {"headers" : {RAW_RESPONSE_HEADER : "stream" }},
733733 )
@@ -1416,7 +1416,7 @@ async def test_retrying_timeout_errors_doesnt_leak(self, respx_mock: MockRouter)
14161416 with pytest .raises (APITimeoutError ):
14171417 await self .client .post (
14181418 "/customers" ,
1419- body = dict (email = "example-customer@withorb.com" , name = "My Customer" ),
1419+ body = cast ( object , dict (email = "example-customer@withorb.com" , name = "My Customer" ) ),
14201420 cast_to = httpx .Response ,
14211421 options = {"headers" : {RAW_RESPONSE_HEADER : "stream" }},
14221422 )
@@ -1431,7 +1431,7 @@ async def test_retrying_status_errors_doesnt_leak(self, respx_mock: MockRouter)
14311431 with pytest .raises (APIStatusError ):
14321432 await self .client .post (
14331433 "/customers" ,
1434- body = dict (email = "example-customer@withorb.com" , name = "My Customer" ),
1434+ body = cast ( object , dict (email = "example-customer@withorb.com" , name = "My Customer" ) ),
14351435 cast_to = httpx .Response ,
14361436 options = {"headers" : {RAW_RESPONSE_HEADER : "stream" }},
14371437 )
0 commit comments