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

Function test_complex_cov

xarray/tests/test_computation.py:1771–1774  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1769
1770
1771def test_complex_cov() -> None:
1772 da = xr.DataArray([1j, -1j])
1773 actual = xr.cov(da, da)
1774 assert abs(actual.item()) == 2
1775
1776
1777@pytest.mark.parametrize("weighted", [True, False])

Callers

nothing calls this directly

Calls 1

covMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…