From b5b5be63fae563784178eeba4496d5fd097793a6 Mon Sep 17 00:00:00 2001 From: Matthew Roeschke <10647082+mroeschke@users.noreply.github.com> Date: Mon, 20 Nov 2023 11:33:50 -1000 Subject: [PATCH] Backport PR #56085: CI: Ignore EncodingWarnings from numpy --- pyproject.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index d7634894b4835..b3b991010f9da 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -480,6 +480,8 @@ filterwarnings = [ "error:::pandas", "error::ResourceWarning", "error::pytest.PytestUnraisableExceptionWarning", + # TODO(PY311-minimum): Specify EncodingWarning + "ignore:'encoding' argument not specified.::numpy", "ignore:.*ssl.SSLSocket:pytest.PytestUnraisableExceptionWarning", "ignore:.*ssl.SSLSocket:ResourceWarning", # GH 44844: Can remove once minimum matplotlib version >= 3.7