Skip to content

Commit cf296dd

Browse files
committed
for working env.downstream
1 parent 91f77ae commit cf296dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_store/test_remote.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
from typing import TYPE_CHECKING
66

77
import pytest
8-
from botocore.session import Session
98

109
import zarr.api.asynchronous
1110
from zarr.core.buffer import Buffer, cpu, default_buffer_prototype
@@ -24,6 +23,7 @@
2423
requests = pytest.importorskip("requests")
2524
moto_server = pytest.importorskip("moto.moto_server.threaded_moto_server")
2625
moto = pytest.importorskip("moto")
26+
botocore_session = pytest.importorskip("botocore.session")
2727

2828
# ### amended from s3fs ### #
2929
test_bucket_name = "test"
@@ -50,7 +50,7 @@ def s3_base() -> Generator[None, None, None]:
5050

5151
def get_boto3_client() -> botocore.client.BaseClient:
5252
# NB: we use the sync botocore client for setup
53-
session = Session()
53+
session = botocore_session.Session()
5454
return session.create_client("s3", endpoint_url=endpoint_url)
5555

5656

0 commit comments

Comments
 (0)