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

Function f

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

Source from the content-addressed store, hash-verified

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

Calls 1

CClass · 0.70

Tested by

no test coverage detected