Skip to content

Commit ec273b1

Browse files
committed
Do not recommend pyargs: issues with pytest_addoptions not taken into
account
1 parent 8c95eb2 commit ec273b1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

CONTRIBUTING.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,7 @@ Run the tests
102102

103103
* To run a specfic test::
104104

105-
pytest <src/silx/path/to/test_file.py> # or
106-
pytest --pyargs <silx.subpackage.test.test_module>
105+
pytest <src/silx/path/to/test_file.py::test_function>
107106

108107
To run the tests of an installed version of *silx*, run the following from the Python interpreter:
109108

0 commit comments

Comments
 (0)