diff --git a/py-polars/tests/unit/io/cloud/test_credential_provider.py b/py-polars/tests/unit/io/cloud/test_credential_provider.py index 43d845070994..2101964fbc39 100644 --- a/py-polars/tests/unit/io/cloud/test_credential_provider.py +++ b/py-polars/tests/unit/io/cloud/test_credential_provider.py @@ -37,7 +37,11 @@ def raises(*_: None, **__: None) -> None: io_func("s3://bucket/path", credential_provider=None) # Passing `storage_options` should disable the automatic instantiation of # `CredentialProviderAWS` - io_func("s3://bucket/path", credential_provider="auto", storage_options={}) + io_func( + "s3://bucket/path", + credential_provider="auto", + storage_options={"aws_access_key_id": "polars"}, + ) err_magic = "err_magic_7"