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

Method test_clip

xarray/tests/test_duck_array_wrapping.py:449–451  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

447 assert isinstance(result.data, self.Array)
448
449 def test_clip(self):
450 result = self.x.clip(min=2.0, max=4.0)
451 assert isinstance(result.data, self.Array)
452
453 def test_conj(self):
454 result = self.x.conj()

Callers

nothing calls this directly

Calls 1

clipMethod · 0.45

Tested by

no test coverage detected