Skip to content

Commit bd37bbb

Browse files
committed
add missed edits to contributing guide for new tests location
1 parent 1e1eb08 commit bd37bbb

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/sphinx/source/contributing/testing.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ typically more efficient to run and debug the tests in your own local
2020
environment.
2121

2222
To run the tests locally, install the ``test`` dependencies specified in the
23-
`setup.py <https://github.com/pvlib/pvlib-python/blob/main/setup.py>`_
23+
`pyproject.toml <https://github.com/pvlib/pvlib-python/blob/main/pyproject.toml>`_
2424
file. See :ref:`installation` instructions for more information.
2525

2626
pvlib's unit tests can easily be run by executing ``pytest`` on the
27-
pvlib directory::
27+
tests directory::
2828

29-
pytest pvlib
29+
pytest tests
3030

3131
or, for a single module::
3232

@@ -39,7 +39,7 @@ or, for a single test::
3939
We suggest using pytest's ``--pdb`` flag to debug test failures rather
4040
than using ``print`` or ``logging`` calls. For example::
4141

42-
pytest pvlib --pdb
42+
pytest tests --pdb
4343

4444
will drop you into the
4545
`pdb debugger <https://docs.python.org/3/library/pdb.html>`_ at the
@@ -50,7 +50,7 @@ to the test suite (with rare exceptions).
5050
To include all network-dependent tests, include the ``--remote-data`` flag to
5151
your ``pytest`` call::
5252

53-
pytest pvlib --remote-data
53+
pytest tests --remote-data
5454

5555
And consider adding ``@pytest.mark.remote_data`` to any network dependent test
5656
you submit for a PR.

0 commit comments

Comments
 (0)