Skip to content

Commit 1858af1

Browse files
authored
update numpy versions in test case examples (#3331)
1 parent e77f803 commit 1858af1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/developers/contributing.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ you can do something like the following::
9898
To verify that your development environment is working, you can run the unit tests
9999
for one of the test environments, e.g.::
100100

101-
$ hatch env run --env test.py3.12-2.1-optional run-pytest
101+
$ hatch env run --env test.py3.12-2.2-optional run-pytest
102102

103103
Creating a branch
104104
~~~~~~~~~~~~~~~~~
@@ -140,7 +140,7 @@ Zarr includes a suite of unit tests. The simplest way to run the unit tests
140140
is to activate your development environment
141141
(see `creating a development environment`_ above) and invoke::
142142

143-
$ hatch env run --env test.py3.12-2.1-optional run-pytest
143+
$ hatch env run --env test.py3.12-2.2-optional run-pytest
144144

145145
All tests are automatically run via GitHub Actions for every pull
146146
request and must pass before code can be accepted. Test coverage is
@@ -188,14 +188,14 @@ Test coverage
188188
Zarr strives to maintain 100% test coverage under the latest Python stable release
189189
Both unit tests and docstring doctests are included when computing coverage. Running::
190190

191-
$ hatch env run --env test.py3.12-2.1-optional run-coverage
191+
$ hatch env run --env test.py3.12-2.2-optional run-coverage
192192

193193
will automatically run the test suite with coverage and produce a XML coverage report.
194194
This should be 100% before code can be accepted into the main code base.
195195

196196
You can also generate an HTML coverage report by running::
197197

198-
$ hatch env run --env test.py3.12-2.1-optional run-coverage-html
198+
$ hatch env run --env test.py3.12-2.2-optional run-coverage-html
199199

200200
When submitting a pull request, coverage will also be collected across all supported
201201
Python versions via the Codecov service, and will be reported back within the pull

0 commit comments

Comments
 (0)