MCPcopy Create free account
hub / github.com/dask/dask / test_derived_from_func

Function test_derived_from_func

dask/tests/test_utils.py:630–640  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

628
629
630def test_derived_from_func():
631 import builtins
632
633 @derived_from(builtins)
634 def sum():
635 "extra docstring"
636 pass
637
638 assert "extra docstring\n\n" in sum.__doc__
639 assert "Return the sum of" in sum.__doc__
640 assert "This docstring was copied from builtins.sum" in sum.__doc__
641
642
643def test_derived_from_dask_dataframe():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected