Skip to content

Commit

Permalink
pickle support is not implemented for memory store
Browse files Browse the repository at this point in the history
  • Loading branch information
jhamman committed Sep 17, 2024
1 parent 6b6cc3a commit 6d7baf1
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tests/v3/test_store/test_memory.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,3 +92,13 @@ def test_store_supports_partial_writes(self, store: GpuMemoryStore) -> None:

def test_list_prefix(self, store: GpuMemoryStore) -> None:
assert True

def test_serizalizable_store(self, store: MemoryStore) -> None:
with pytest.raises(NotImplementedError):
store.__getstate__()

with pytest.raises(NotImplementedError):
store.__setstate__({})

with pytest.raises(NotImplementedError):
pickle.dumps(store)

0 comments on commit 6d7baf1

Please sign in to comment.