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

Function test_tokenize_same_repr

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

check_tokenizeFunction · 0.85
FooClass · 0.70

Tested by

no test coverage detected