Skip to content

Commit a61d088

Browse files
committed
patch region_name
1 parent 88379bc commit a61d088

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎tests/integrations/boto3/test_client.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ def test_client_call_omits_missing_region(
258258
server_name="",
259259
)
260260
client = session.client("s3")
261-
monkeypatch.setattr(client.meta.config, "region_name", None)
261+
monkeypatch.setattr(type(client.meta), "region_name", property(lambda _: None))
262262

263263
span = _capture_stubbed_client_span(
264264
client,

0 commit comments

Comments
 (0)