From 29673d5bc19e820b0127cab85aeb4b2cb66c276d Mon Sep 17 00:00:00 2001 From: Mathias Hauser Date: Mon, 28 Nov 2022 20:31:03 +0100 Subject: [PATCH] fix doctests: supress urllib3 warning (#7326) --- xarray/tests/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xarray/tests/__init__.py b/xarray/tests/__init__.py index 5b2359a2d05..6970a34b63d 100644 --- a/xarray/tests/__init__.py +++ b/xarray/tests/__init__.py @@ -35,6 +35,8 @@ except ImportError: pass +# https://github.com/pydata/xarray/issues/7322 +warnings.filterwarnings("ignore", "'urllib3.contrib.pyopenssl' module is deprecated") arm_xfail = pytest.mark.xfail( platform.machine() == "aarch64" or "arm" in platform.machine(),