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

Method __init__

dask/tests/test_utils.py:993–994  ·  view source on GitHub ↗
(self, shape)

Source from the content-addressed store, hash-verified

991def test_is_empty_object_with_shape_only():
992 class FakeShape:
993 def __init__(self, shape):
994 self.shape = shape
995
996 assert is_empty(FakeShape((0, 5))) is True
997 assert is_empty(FakeShape((3, 5))) is False

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected