From 1e2b5463dea4937cd9f793aaaaf9cc69ebc81e8a Mon Sep 17 00:00:00 2001 From: Brock Date: Mon, 1 Feb 2021 07:42:06 -0800 Subject: [PATCH 1/2] CI: numpy warnings produced by pytables --- pandas/tests/io/pytables/__init__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pandas/tests/io/pytables/__init__.py b/pandas/tests/io/pytables/__init__.py index fb4b317a5e977..d3735f8863c3b 100644 --- a/pandas/tests/io/pytables/__init__.py +++ b/pandas/tests/io/pytables/__init__.py @@ -6,4 +6,7 @@ "ignore:a closed node found in the registry:UserWarning" ), pytest.mark.filterwarnings(r"ignore:tostring\(\) is deprecated:DeprecationWarning"), + pytest.mark.filterwarnings( + r"ignore:`np\.object` is a deprecated alias:DeprecationWarning" + ), ] From c5378c4ca62f1b705d5d15459969e7af093e4114 Mon Sep 17 00:00:00 2001 From: Brock Date: Mon, 1 Feb 2021 08:49:38 -0800 Subject: [PATCH 2/2] suppress numba warnings --- pandas/tests/window/__init__.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pandas/tests/window/__init__.py b/pandas/tests/window/__init__.py index e69de29bb2d1d..757bdfe755038 100644 --- a/pandas/tests/window/__init__.py +++ b/pandas/tests/window/__init__.py @@ -0,0 +1,8 @@ +import pytest + +pytestmark = [ + # 2021-02-01 needed until numba updates their usage + pytest.mark.filterwarnings( + r"ignore:`np\.int` is a deprecated alias:DeprecationWarning" + ), +]