Skip to content

Commit 4ae0d23

Browse files
Backport PR #39534: CI: numpy warnings produced by pytables (#39540)
Co-authored-by: jbrockmendel <[email protected]>
1 parent 6a65fc7 commit 4ae0d23

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

pandas/tests/io/pytables/__init__.py

+3
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,7 @@
66
"ignore:a closed node found in the registry:UserWarning"
77
),
88
pytest.mark.filterwarnings(r"ignore:tostring\(\) is deprecated:DeprecationWarning"),
9+
pytest.mark.filterwarnings(
10+
r"ignore:`np\.object` is a deprecated alias:DeprecationWarning"
11+
),
912
]

pandas/tests/window/__init__.py

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import pytest
2+
3+
pytestmark = [
4+
# 2021-02-01 needed until numba updates their usage
5+
pytest.mark.filterwarnings(
6+
r"ignore:`np\.int` is a deprecated alias:DeprecationWarning"
7+
),
8+
]

0 commit comments

Comments
 (0)