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

Function test_asciitable

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

Source from the content-addressed store, hash-verified

347
348
349def test_asciitable():
350 res = asciitable(
351 ["fruit", "color"],
352 [("apple", "red"), ("banana", "yellow"), ("tomato", "red"), ("pear", "green")],
353 )
354 assert res == (
355 "+--------+--------+\n"
356 "| fruit | color |\n"
357 "+--------+--------+\n"
358 "| apple | red |\n"
359 "| banana | yellow |\n"
360 "| tomato | red |\n"
361 "| pear | green |\n"
362 "+--------+--------+"
363 )
364
365
366def test_SerializableLock():

Callers

nothing calls this directly

Calls 1

asciitableFunction · 0.90

Tested by

no test coverage detected