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

Method test_noop

xarray/tests/test_datatree.py:1818–1822  ·  view source on GitHub ↗
(self, create_test_datatree: Callable[[], DataTree])

Source from the content-addressed store, hash-verified

1816
1817class TestPipe:
1818 def test_noop(self, create_test_datatree: Callable[[], DataTree]) -> None:
1819 dt = create_test_datatree()
1820
1821 actual = dt.pipe(lambda tree: tree)
1822 assert actual.identical(dt)
1823
1824 def test_args(self, create_test_datatree: Callable[[], DataTree]) -> None:
1825 dt = create_test_datatree()

Callers

nothing calls this directly

Calls 3

create_test_datatreeFunction · 0.85
pipeMethod · 0.45
identicalMethod · 0.45

Tested by

no test coverage detected