MCPcopy 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
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

Calls

no outgoing calls