Output: plain with multiline cells without headers
()
| 31 | |
| 32 | |
| 33 | def test_plain_multiline_headerless(): |
| 34 | "Output: plain with multiline cells without headers" |
| 35 | table = [["foo bar\nbaz\nbau", "hello"], ["", "multiline\nworld"]] |
| 36 | expected = "\n".join( |
| 37 | ["foo bar hello", " baz", " bau", " multiline", " world"] |
| 38 | ) |
| 39 | result = tabulate(table, stralign="center", tablefmt="plain") |
| 40 | assert_equal(expected, result) |
| 41 | |
| 42 | |
| 43 | def test_plain_multiline(): |
nothing calls this directly
no test coverage detected