Skip to content

Commit 185e28e

Browse files
authored
supress namespace_package deprecation warning (doctests) (#7548)
1 parent 1de881e commit 185e28e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

xarray/tests/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737

3838
# https://github.com/pydata/xarray/issues/7322
3939
warnings.filterwarnings("ignore", "'urllib3.contrib.pyopenssl' module is deprecated")
40+
warnings.filterwarnings("ignore", "Deprecated call to `pkg_resources.declare_namespace")
4041

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

0 commit comments

Comments
 (0)