MCPcopy Index your code
hub / github.com/astanin/python-tabulate / test_plain

Function test_plain

test/test_output.py:17–23  ·  view source on GitHub ↗

Output: plain with headers

()

Source from the content-addressed store, hash-verified

15
16
17def test_plain():
18 "Output: plain with headers"
19 expected = "\n".join(
20 ["strings numbers", "spam 41.9999", "eggs 451"]
21 )
22 result = tabulate(_test_table, _test_table_headers, tablefmt="plain")
23 assert_equal(expected, result)
24
25
26def test_plain_headerless():

Callers

nothing calls this directly

Calls 2

tabulateFunction · 0.90
assert_equalFunction · 0.90

Tested by

no test coverage detected