Skip to content

Commit 69624f3

Browse files
committed
Added new test to Panel section
1 parent 472cf11 commit 69624f3

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

pandas/tests/generic/test_generic.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -604,8 +604,6 @@ def test_copy_and_deepcopy(self):
604604
])
605605
def test_pct_change(self, periods, fill_method, limit, exp):
606606
obj = self._construct(0)
607-
if type(obj) is Panel:
608-
pytest.skip("Not testing deprecated Panel")
609607
is_frame = type(obj) is DataFrame
610608
ser = pd.Series([np.nan, np.nan, 1, 2, 4, 10, np.nan, np.nan])
611609
obj = pd.concat((obj, ser))

pandas/tests/generic/test_panel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def test_to_xarray(self):
4545
'test_stat_non_defaults_args',
4646
'test_truncate_out_of_bounds',
4747
'test_metadata_propagation', 'test_copy_and_deepcopy',
48-
'test_sample']:
48+
'test_pct_change', 'test_sample']:
4949

5050
def f():
5151
def tester(self):

0 commit comments

Comments
 (0)