File tree 1 file changed +26
-8
lines changed
pandas/tests/reshape/concat
1 file changed +26
-8
lines changed Original file line number Diff line number Diff line change @@ -700,10 +700,19 @@ def test_concat_posargs_deprecation():
700
700
tm .assert_frame_equal (result , expected )
701
701
702
702
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
+ )
707
716
def test_concat_drop_attrs (data ):
708
717
# GH#41828
709
718
df1 = data .copy ()
@@ -714,10 +723,19 @@ def test_concat_drop_attrs(data):
714
723
assert len (df .attrs ) == 0
715
724
716
725
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
+ )
721
739
def test_concat_retain_attrs (data ):
722
740
# GH#41828
723
741
df1 = data .copy ()
You can’t perform that action at this time.
0 commit comments