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

Function test_derived_from_dask_dataframe

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

Source from the content-addressed store, hash-verified

641
642
643def test_derived_from_dask_dataframe():
644 pytest.importorskip("pandas")
645 dd = pytest.importorskip("dask.dataframe")
646
647 assert "inconsistencies" in dd.DataFrame.dropna.__doc__
648
649 [axis_arg] = [
650 line for line in dd.DataFrame.dropna.__doc__.split("\n") if "axis :" in line
651 ]
652 assert "not supported" in axis_arg.lower()
653 assert "dask" in axis_arg.lower()
654
655 assert "Object with missing values filled" in dd.DataFrame.ffill.__doc__
656
657
658def test_parse_bytes():

Callers

nothing calls this directly

Calls 1

splitMethod · 0.80

Tested by

no test coverage detected