We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1ad2aae commit a63f66dCopy full SHA for a63f66d
pandas/tests/generic/test_panel.py
@@ -65,7 +65,7 @@ def test_to_xarray(self):
65
66
67
# run all the tests, but wrap each in a warning catcher
68
-for t in ['test_rename', 'test_rename_axis', 'test_get_numeric_data',
+for t in ['test_rename', 'test_get_numeric_data',
69
'test_get_default', 'test_nonzero',
70
'test_downcast', 'test_constructor_compound_dtypes',
71
'test_head_tail',
@@ -79,16 +79,18 @@ def test_to_xarray(self):
79
80
def f():
81
def tester(self):
82
+ f = getattr(super(TestPanel, self), t)
83
with catch_warnings(record=True):
- return getattr(super(TestPanel, self), t)()
84
+ f()
85
return tester
86
87
setattr(TestPanel, t, f())
88
89
90
91
+ f = getattr(super(TestPanel4D, self), t)
92
- return getattr(super(TestPanel4D, self), t)()
93
94
95
96
setattr(TestPanel4D, t, f())
0 commit comments