Skip to content

Commit bad4d58

Browse files
authored
DOC: update pytest line (#923)
* DOC: update pytest line * more python -m
1 parent 181ccc5 commit bad4d58

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/contributing.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ the repository, you can do something like the following::
9797

9898
To verify that your development environment is working, you can run the unit tests::
9999

100-
$ pytest -v zarr
100+
$ python -m pytest -v zarr
101101

102102
Creating a branch
103103
~~~~~~~~~~~~~~~~~
@@ -144,7 +144,7 @@ spec. The simplest way to run the unit tests is to activate your
144144
development environment (see `creating a development environment`_ above)
145145
and invoke::
146146

147-
$ pytest -v zarr
147+
$ python -m pytest -v zarr
148148

149149
Some tests require optional dependencies to be installed, otherwise
150150
the tests will be skipped. To install all optional dependencies, run::
@@ -154,7 +154,7 @@ the tests will be skipped. To install all optional dependencies, run::
154154
To also run the doctests within docstrings (requires optional
155155
dependencies to be installed), run::
156156

157-
$ pytest -v --doctest-plus zarr
157+
$ python -m pytest -v --doctest-plus zarr
158158

159159
To run the doctests within the tutorial and storage spec (requires
160160
optional dependencies to be installed), run::
@@ -186,7 +186,7 @@ All code must conform to the PEP8 standard. Regarding line length, lines up to 1
186186
characters are allowed, although please try to keep under 90 wherever possible.
187187
Conformance can be checked by running::
188188

189-
$ flake8 --max-line-length=100 zarr
189+
$ python -m flake8 --max-line-length=100 zarr
190190

191191
Test coverage
192192
~~~~~~~~~~~~~
@@ -212,7 +212,7 @@ should run and pass as doctests under Python 3.8. To run doctests,
212212
activate your development environment, install optional requirements,
213213
and run::
214214

215-
$ pytest -v --doctest-plus zarr
215+
$ python -m pytest -v --doctest-plus zarr
216216

217217
Zarr uses Sphinx for documentation, hosted on readthedocs.org. Documentation is
218218
written in the RestructuredText markup language (.rst files) in the ``docs`` folder.

0 commit comments

Comments
 (0)