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

Function test_normalize_base

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

Source from the content-addressed store, hash-verified

337
338
339def test_normalize_base():
340 for i in [
341 1,
342 1.1,
343 "1",
344 slice(1, 2, 3),
345 decimal.Decimal("1.1"),
346 datetime.date(2021, 6, 25),
347 pathlib.PurePath("/this/that"),
348 ]:
349 assert normalize_token(i) is i
350
351
352def test_tokenize_object():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected