Skip to content

Commit e679918

Browse files
committed
Update test_concat.py
1 parent 93cc257 commit e679918

File tree

1 file changed

+26
-8
lines changed

1 file changed

+26
-8
lines changed

pandas/tests/reshape/concat/test_concat.py

+26-8
Original file line numberDiff line numberDiff line change
@@ -700,10 +700,19 @@ def test_concat_posargs_deprecation():
700700
tm.assert_frame_equal(result, expected)
701701

702702

703-
@pytest.mark.parametrize("data", [Series(data=[1, 2]),
704-
DataFrame(data={"col1": [1, 2], }),
705-
DataFrame(dtype=float),
706-
Series(dtype=float)])
703+
@pytest.mark.parametrize(
704+
"data",
705+
[
706+
Series(data=[1, 2]),
707+
DataFrame(
708+
data={
709+
"col1": [1, 2],
710+
}
711+
),
712+
DataFrame(dtype=float),
713+
Series(dtype=float),
714+
],
715+
)
707716
def test_concat_drop_attrs(data):
708717
# GH#41828
709718
df1 = data.copy()
@@ -714,10 +723,19 @@ def test_concat_drop_attrs(data):
714723
assert len(df.attrs) == 0
715724

716725

717-
@pytest.mark.parametrize("data", [Series(data=[1, 2]),
718-
DataFrame(data={"col1": [1, 2], }),
719-
DataFrame(dtype=float),
720-
Series(dtype=float)])
726+
@pytest.mark.parametrize(
727+
"data",
728+
[
729+
Series(data=[1, 2]),
730+
DataFrame(
731+
data={
732+
"col1": [1, 2],
733+
}
734+
),
735+
DataFrame(dtype=float),
736+
Series(dtype=float),
737+
],
738+
)
721739
def test_concat_retain_attrs(data):
722740
# GH#41828
723741
df1 = data.copy()

0 commit comments

Comments
 (0)