Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add test
Browse files Browse the repository at this point in the history
mvadari committed Apr 14, 2022
1 parent dac53ae commit 07e9ef6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/test_output.py
Original file line number Diff line number Diff line change
@@ -1428,6 +1428,12 @@ def test_floatfmt_multi():
assert_equal(expected, result)


def test_floatfmt_precision():
result = tabulate([[99999998999.999980]], floatfmt=".6f", tablefmt="plain")
expected = "99999998999.999980"
assert_equal(expected, result)


def test_colalign_multi():
"Output: string columns with custom colalign"
result = tabulate(

0 comments on commit 07e9ef6

Please sign in to comment.