File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
docs/sphinx/source/contributing Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -20,13 +20,13 @@ typically more efficient to run and debug the tests in your own local
2020environment.
2121
2222To 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 >`_
2424file. See :ref: `installation ` instructions for more information.
2525
2626pvlib'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
3131or, for a single module::
3232
@@ -39,7 +39,7 @@ or, for a single test::
3939We suggest using pytest's ``--pdb `` flag to debug test failures rather
4040than using ``print `` or ``logging `` calls. For example::
4141
42- pytest pvlib --pdb
42+ pytest tests --pdb
4343
4444will 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).
5050To include all network-dependent tests, include the ``--remote-data `` flag to
5151your ``pytest `` call::
5252
53- pytest pvlib --remote-data
53+ pytest tests --remote-data
5454
5555And consider adding ``@pytest.mark.remote_data `` to any network dependent test
5656you submit for a PR.
You can’t perform that action at this time.
0 commit comments