From 11fcad2a6cda483c553bf5c58ff1ef91fb7b777d Mon Sep 17 00:00:00 2001 From: Richard Iannone Date: Thu, 26 Oct 2023 16:03:10 -0400 Subject: [PATCH] Update test_formats.py --- tests/test_formats.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_formats.py b/tests/test_formats.py index e3796bd2f..6a36adb00 100644 --- a/tests/test_formats.py +++ b/tests/test_formats.py @@ -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, @@ -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,