Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dask/dask
/ FakeShape
Class
FakeShape
dask/tests/test_utils.py:992–994 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
990
991
def
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
1
test_is_empty_object_with_shape_only
Function · 0.85
Calls
no outgoing calls
Tested by
1
test_is_empty_object_with_shape_only
Function · 0.68