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

Function test_tokenize_same_repr

dask/tests/test_tokenize.py:683–691  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

681
682
683def 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
693
694def test_tokenize_slotted():

Callers

nothing calls this directly

Calls 2

check_tokenizeFunction · 0.85
FooClass · 0.70

Tested by

no test coverage detected