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

Function f

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

Source from the content-addressed store, hash-verified

515@pytest.mark.parametrize("instance", [False, True])
516def test_tokenize_local_classes_from_different_contexts(instance):
517 def f():
518 class C:
519 pass
520
521 return C() if instance else C
522
523 assert check_tokenize(f()) == check_tokenize(f())
524

Calls 1

CClass · 0.70

Tested by

no test coverage detected