Skip to content

Commit 29673d5

Browse files
mathauseheadtr1ck
authored andcommitted
fix doctests: supress urllib3 warning (pydata#7326)
1 parent 9e0f312 commit 29673d5

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)