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 26, 2023
1 parent b8e63d3 commit 11fcad2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_formats.py
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ def test_expand_exponential_to_full_string(str_number: str, x_out: str):


def test_format_number_with_sigfig():
df = pd.DataFrame({"x": [1.23, 2.345], "y": [3.456, 4.567]})
df = pd.DataFrame({"x": [1.23, 2.345]})
gt = GT(df).fmt_number(
columns="x",
n_sigfig=2,
Expand All @@ -398,7 +398,7 @@ def test_format_number_with_sigfig():


def test_format_number_with_sigfig_2():
df = pd.DataFrame({"x": [0.000000000000000534, 9.123], "y": [3.456, 4.567]})
df = pd.DataFrame({"x": [0.000000000000000534, 9.123]})
gt = GT(df).fmt_number(
columns="x",
n_sigfig=2,
Expand Down

0 comments on commit 11fcad2

Please sign in to comment.