Skip to content

Commit 78b27ec

Browse files
authored
fix doctests: supress urllib3 warning (#7326)
1 parent 6f1cf51 commit 78b27ec

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

xarray/tests/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@
3535
except ImportError:
3636
pass
3737

38+
# https://github.com/pydata/xarray/issues/7322
39+
warnings.filterwarnings("ignore", "'urllib3.contrib.pyopenssl' module is deprecated")
3840

3941
arm_xfail = pytest.mark.xfail(
4042
platform.machine() == "aarch64" or "arm" in platform.machine(),

0 commit comments

Comments
 (0)