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

Function test_asciitable

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

asciitableFunction · 0.90

Tested by

no test coverage detected