Skip to content

Commit ee9dd9f

Browse files
dstansbyd-v-b
andauthored
Remove walrus
Co-authored-by: Davis Bennett <[email protected]>
1 parent 3e220e7 commit ee9dd9f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/test_store/test_fsspec.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,8 @@ async def test_basic() -> None:
114114
data = b"hello"
115115
await store.set("foo", cpu.Buffer.from_bytes(data))
116116
assert await store.exists("foo")
117-
assert (buf := (await store.get("foo", prototype=default_buffer_prototype()))) is not None
117+
buf = await store.get("foo", prototype=default_buffer_prototype())
118+
assert buf is not None
118119
assert buf.to_bytes() == data
119120
out = await store.get_partial_values(
120121
prototype=default_buffer_prototype(), key_ranges=[("foo", OffsetByteRequest(1))]

0 commit comments

Comments
 (0)