Skip to content

Commit 4729abc

Browse files
author
y-p
committed
TST: ignore FutureWarning in core.format
1 parent 444a2e8 commit 4729abc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pandas/tests/test_format.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,11 @@ def curpath():
3030
class TestDataFrameFormatting(unittest.TestCase):
3131
_multiprocess_can_split_ = True
3232
def setUp(self):
33+
import warnings
3334
self.frame = _frame.copy()
35+
warnings.filterwarnings('ignore',
36+
category=FutureWarning,
37+
module=".*format")
3438

3539
def test_repr_embedded_ndarray(self):
3640
arr = np.empty(10, dtype=[('err', object)])

0 commit comments

Comments
 (0)