Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/dask/dask
/ Foo
Class
Foo
dask/tests/test_tokenize.py:684–689 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
682
683
def
test_tokenize_same_repr():
684
class
Foo:
685
def
__init__(self, x):
686
self.x = x
687
688
def
__repr__(self):
689
return
"a foo"
690
691
assert check_tokenize(Foo(1)) != check_tokenize(Foo(2))
692
Callers
5
test_tokenize_same_repr
Function · 0.70
test_tokenize_slotted
Function · 0.70
test_tokenize_slotted_no_value
Function · 0.70
test_tokenize_method
Function · 0.70
test_tokenize_recursive_respects_ensure_deterministic
Function · 0.70
Calls
no outgoing calls
Tested by
5
test_tokenize_same_repr
Function · 0.56
test_tokenize_slotted
Function · 0.56
test_tokenize_slotted_no_value
Function · 0.56
test_tokenize_method
Function · 0.56
test_tokenize_recursive_respects_ensure_deterministic
Function · 0.56