Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
martindurant committed Dec 3, 2023
1 parent 396ffee commit 2988be8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions s3fs/tests/test_s3fs.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,9 +167,9 @@ def test_simple(s3):


def test_auto_anon(s3, monkeypatch):
monkeypatch.delenv("AWS_ACCESS_KEY_ID")
monkeypatch.delenv("AWS_SECRET_ACCESS_KEY")
monkeypatch.delenv("AWS_SESSION_TOKEN")
monkeypatch.delenv("AWS_ACCESS_KEY_ID", raising=False)
monkeypatch.delenv("AWS_SECRET_ACCESS_KEY", raising=False)
monkeypatch.delenv("AWS_SESSION_TOKEN", raising=False)

fs = S3FileSystem(skip_instance_cache=True, endpoint_url=endpoint_uri)
fs.s3
Expand Down

0 comments on commit 2988be8

Please sign in to comment.