MCPcopy Index your code
hub / github.com/pydata/xarray / make_patches

Method make_patches

xarray/tests/test_backends.py:3908–3918  ·  view source on GitHub ↗
(self, store)

Source from the content-addressed store, hash-verified

3906 yield store
3907
3908 def make_patches(self, store):
3909 from unittest.mock import MagicMock
3910
3911 return {
3912 method: MagicMock(
3913 f"KVStore.{method}",
3914 side_effect=getattr(store, method),
3915 autospec=True,
3916 )
3917 for method in self.methods
3918 }
3919
3920 def summarize(self, patches):
3921 summary = {}

Callers 2

test_appendMethod · 0.95
test_region_writeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected