Skip to content

Commit

Permalink
Update test_formats.py
Browse files Browse the repository at this point in the history
  • Loading branch information
rich-iannone committed Oct 20, 2023
1 parent 77e85cf commit 9a5d754
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_formats.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
import pandas as pd
import pytest
from pandas.testing import assert_frame_equal

from gt import GT


@pytest.mark.xfail(reason="Don't have a method to get formatted values as list")
def test_fmt_number_basic():
df = pd.DataFrame({"x": [1.234, 2.345], "y": [3.456, 4.567]})
gt = GT(df).fmt_number(columns="x", decimals=2)
Expand Down

0 comments on commit 9a5d754

Please sign in to comment.