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

Function test_tokenize_slotted

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

Source from the content-addressed store, hash-verified

693
694
695def test_tokenize_slotted():
696 class Foo:
697 __slots__ = ("x",)
698
699 def __init__(self, x):
700 self.x = x
701
702 assert check_tokenize(Foo(1)) != check_tokenize(Foo(2))
703
704
705def test_tokenize_slotted_no_value():

Callers

nothing calls this directly

Calls 2

check_tokenizeFunction · 0.85
FooClass · 0.70

Tested by

no test coverage detected