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

Method test_rolling_doc

xarray/tests/test_rolling.py:87–91  ·  view source on GitHub ↗
(self, da)

Source from the content-addressed store, hash-verified

85 dat_chunk.rolling(day=10).mean().rolling(day=250).std()
86
87 def test_rolling_doc(self, da) -> None:
88 rolling_obj = da.rolling(time=7)
89
90 # argument substitution worked
91 assert "`mean`" in rolling_obj.mean.__doc__
92
93 def test_rolling_properties(self, da) -> None:
94 rolling_obj = da.rolling(time=4)

Callers

nothing calls this directly

Calls 1

rollingMethod · 0.45

Tested by

no test coverage detected