From 8ddd4dc5506ea628b75c57599e1c5e6fe22166e4 Mon Sep 17 00:00:00 2001 From: Matthew Roeschke <10647082+mroeschke@users.noreply.github.com> Date: Mon, 20 Nov 2023 12:30:24 -0800 Subject: [PATCH] CI: Ignore EncodingWarnings from numpy --- pyproject.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 8ebd70762b2a5..619a6b99e3ae5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -486,6 +486,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