Output: plain with headers
()
| 15 | |
| 16 | |
| 17 | def 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 | |
| 26 | def test_plain_headerless(): |
nothing calls this directly
no test coverage detected