Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dask/dask
/ Foo
Class
Foo
dask/tests/test_tokenize.py:685–690 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
683
684
def
test_tokenize_same_repr():
685
class
Foo:
686
def
__init__(self, x):
687
self.x = x
688
689
def
__repr__(self):
690
return
"a foo"
691
692
assert check_tokenize(Foo(1)) != check_tokenize(Foo(2))
693
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