Skip to content

Commit d3b26ea

Browse files
committed
reformat test_na_values.py
1 parent 0fcf3c2 commit d3b26ea

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

pandas/tests/io/parser/test_na_values.py

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -818,14 +818,18 @@ def test_bool_and_nan_to_float(all_parsers):
818818
@pytest.mark.parametrize(
819819
"na_values, expected_result, test_id",
820820
[
821-
({"A": [-99.0, -99]},
822-
DataFrame({"A": [np.nan, np.nan, np.nan, np.nan]}),
823-
"float_first"),
824-
({"A": [-99, -99.0]},
825-
DataFrame({"A": [np.nan, np.nan, np.nan, np.nan]}),
826-
"int_first"),
821+
(
822+
{"A": [-99.0, -99]},
823+
DataFrame({"A": [np.nan, np.nan, np.nan, np.nan]}),
824+
"float_first",
825+
),
826+
(
827+
{"A": [-99, -99.0]},
828+
DataFrame({"A": [np.nan, np.nan, np.nan, np.nan]}),
829+
"int_first",
830+
),
827831
],
828-
ids=["float_first", "int_first"]
832+
ids=["float_first", "int_first"],
829833
)
830834
def test_na_values_dict_without_dtype(all_parsers, na_values, expected_result, test_id):
831835
parser = all_parsers

0 commit comments

Comments
 (0)