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

Calls

no outgoing calls