Skip to content

Commit

Permalink
Filter out doctest warning (#8539)
Browse files Browse the repository at this point in the history
* Filter out doctest warning

Trying to fix #8537. Not sure it'll work and can't test locally so seeing if it passes CI

* try using the CLI to ignore the warning

---------

Co-authored-by: Justus Magin <keewis@posteo.de>
  • Loading branch information
max-sixty and keewis committed Dec 11, 2023
1 parent 967ef91 commit 8ad0b83
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/ci-additional.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,11 @@ jobs:
# Raise an error if there are warnings in the doctests, with `-Werror`.
# This is a trial; if it presents an problem, feel free to remove.
# See https://github.com/pydata/xarray/issues/7164 for more info.
python -m pytest --doctest-modules xarray --ignore xarray/tests -Werror
# ignores:
# 1. h5py: see https://github.com/pydata/xarray/issues/8537
python -m pytest --doctest-modules xarray --ignore xarray/tests -Werror \
-W "ignore:h5py is running against HDF5 1.14.3:UserWarning"
mypy:
name: Mypy
Expand Down

0 comments on commit 8ad0b83

Please sign in to comment.