• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Ouranosinc / xclim / 20178345231 / 1
92%
main: 92%

Build:
DEFAULT BRANCH: main
Ran 12 Dec 2025 08:11PM UTC
Files 60
Run time 3s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

12 Dec 2025 07:58PM UTC coverage: 91.972% (+0.03%) from 91.941%
20178345231.1

push

github

web-flow
Adopt Pytest v9.0+, RuntimeWarning changes (#2276)

### What kind of change does this PR introduce?

* Modifies a few of the squelched `RuntimeWarning` messages in order to
provide more information for users of `indices`, while silencing these
messages for `indicator` users and the CLI.
* Updates `pytest` to the latest conventions (version `9.0+`), enabling
the new `strict` mode.

### Does this PR introduce a breaking change?

For some developers, yes. There will likely be more noise emitted from
workflows relying on `xclim.indices`. These can be set to be ignored
using context managers:
```python
with numpy.errstate(divide='ignore'):
    ...
```
or:
```python
with warnings.catch_warnings():
    warnings.simplefilter("ignore")
    ...
```

### Other information:

The new `pytest` now offers a `strict` mode. This means that
configurations for `markers` and `xfail` must be explicitly defined,
`parametrizations` must always be uniquely-defined, and the
configuration found in `pyproject.toml` must not contain any errors. For
more information:
https://docs.pytest.org/en/stable/reference/reference.html#confval-strict

7836 of 8520 relevant lines covered (91.97%)

1.84 hits per line

Source Files on job run-{{ matrix.python-version }}-conda - 20178345231.1
  • Tree
  • List 60
  • Changed 7
  • Source Changed 6
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 20178345231
  • e51fc473 on github
  • Prev Job for on main (#20177676730.2)
  • Next Job for on main (#20236744145.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc