Skip to content

Commit bf36f35

Browse files
committed
TST: skip the panel4d deepcopy tests
1 parent d58b1f6 commit bf36f35

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

pandas/tests/test_generic.py

+7-3
Original file line numberDiff line numberDiff line change
@@ -677,11 +677,12 @@ def test_validate_bool_args(self):
677677
super(DataFrame, df).mask(cond=df.a > 2, inplace=value)
678678

679679
def test_copy_and_deepcopy(self):
680-
681680
for shape in [0, 1, 2]:
682681
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)]:
685686
obj_copy = func(obj)
686687
self.assertIsNot(obj_copy, obj)
687688
self._compare(obj_copy, obj)
@@ -1588,6 +1589,9 @@ class TestPanel4D(tm.TestCase, Generic):
15881589
def test_sample(self):
15891590
pytest.skip("sample on Panel4D")
15901591

1592+
def test_copy_and_deepcopy(self):
1593+
pytest.skip("copy_and_deepcopy on Panel4D")
1594+
15911595
def test_to_xarray(self):
15921596

15931597
tm._skip_if_no_xarray()

0 commit comments

Comments
 (0)