Skip to content

Commit 93cc257

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

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pandas/tests/reshape/concat/test_concat.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -702,8 +702,8 @@ def test_concat_posargs_deprecation():
702702

703703
@pytest.mark.parametrize("data", [Series(data=[1, 2]),
704704
DataFrame(data={"col1": [1, 2], }),
705-
DataFrame(),
706-
Series()])
705+
DataFrame(dtype=float),
706+
Series(dtype=float)])
707707
def test_concat_drop_attrs(data):
708708
# GH#41828
709709
df1 = data.copy()
@@ -716,8 +716,8 @@ def test_concat_drop_attrs(data):
716716

717717
@pytest.mark.parametrize("data", [Series(data=[1, 2]),
718718
DataFrame(data={"col1": [1, 2], }),
719-
DataFrame(),
720-
Series()])
719+
DataFrame(dtype=float),
720+
Series(dtype=float)])
721721
def test_concat_retain_attrs(data):
722722
# GH#41828
723723
df1 = data.copy()

0 commit comments

Comments
 (0)