()
| 628 | |
| 629 | |
| 630 | def 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 | |
| 643 | def test_derived_from_dask_dataframe(): |
nothing calls this directly
no outgoing calls
no test coverage detected