File tree 1 file changed +7
-3
lines changed
1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -677,11 +677,12 @@ def test_validate_bool_args(self):
677
677
super (DataFrame , df ).mask (cond = df .a > 2 , inplace = value )
678
678
679
679
def test_copy_and_deepcopy (self ):
680
-
681
680
for shape in [0 , 1 , 2 ]:
682
681
obj = self ._construct (shape )
683
-
684
- for func in (copy , deepcopy ):
682
+ for func in [copy ,
683
+ deepcopy ,
684
+ lambda x : x .copy (deep = False ),
685
+ lambda x : x .copy (deep = True )]:
685
686
obj_copy = func (obj )
686
687
self .assertIsNot (obj_copy , obj )
687
688
self ._compare (obj_copy , obj )
@@ -1588,6 +1589,9 @@ class TestPanel4D(tm.TestCase, Generic):
1588
1589
def test_sample (self ):
1589
1590
pytest .skip ("sample on Panel4D" )
1590
1591
1592
+ def test_copy_and_deepcopy (self ):
1593
+ pytest .skip ("copy_and_deepcopy on Panel4D" )
1594
+
1591
1595
def test_to_xarray (self ):
1592
1596
1593
1597
tm ._skip_if_no_xarray ()
You can’t perform that action at this time.
0 commit comments