We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e220e7 commit ee9dd9fCopy full SHA for ee9dd9f
tests/test_store/test_fsspec.py
@@ -114,7 +114,8 @@ async def test_basic() -> None:
114
data = b"hello"
115
await store.set("foo", cpu.Buffer.from_bytes(data))
116
assert await store.exists("foo")
117
- assert (buf := (await store.get("foo", prototype=default_buffer_prototype()))) is not None
+ buf = await store.get("foo", prototype=default_buffer_prototype())
118
+ assert buf is not None
119
assert buf.to_bytes() == data
120
out = await store.get_partial_values(
121
prototype=default_buffer_prototype(), key_ranges=[("foo", OffsetByteRequest(1))]
0 commit comments