From 5fb2794cfa5fdfa89f1dd563422aac0307bdfce5 Mon Sep 17 00:00:00 2001 From: Maximilian Roos Date: Sun, 22 Sep 2024 17:56:08 -0700 Subject: [PATCH] Update docs for running generations --- xarray/util/generate_aggregations.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xarray/util/generate_aggregations.py b/xarray/util/generate_aggregations.py index be64bdbc77f..7c862689c2c 100644 --- a/xarray/util/generate_aggregations.py +++ b/xarray/util/generate_aggregations.py @@ -4,8 +4,8 @@ Usage: python xarray/util/generate_aggregations.py - pytest --doctest-modules xarray/core/_aggregations.py --accept || true - pytest --doctest-modules xarray/core/_aggregations.py + pytest --doctest-modules xarray/core/_aggregations.py, xarray/namedarray/_aggregations.py --accept || true + pytest --doctest-modules xarray/core/_aggregations.py, xarray/namedarray/_aggregations.py This requires [pytest-accept](https://github.com/max-sixty/pytest-accept). The second run of pytest is deliberate, since the first will return an error