@@ -226,10 +226,10 @@ Finally, install ``stingray`` itself::
226226Test Suite
227227----------
228228
229- Please be sure to run the test suite before you use the package, and please report anything
229+ It's generally a good idea to run the test suite before you use the package, and please report anything
230230you think might be bugs on our GitHub `Issues page <https://github.com/StingraySoftware/stingray/issues >`_.
231231
232- Stingray uses `py.test <https://pytest.org >`_ and `tox
232+ Stingray uses `pytest <https://pytest.org >`_ and `tox
233233<https://tox.readthedocs.io> `_ for testing.
234234
235235If you downloaded the source code, e.g. via `git clone `, run the tests with::
@@ -246,16 +246,13 @@ To run a specific test file (e.g., test_io.py), try::
246246 $ py.test tests/test_io.py
247247
248248If you have installed Stingray via pip or conda, the source directory might
249- not be easily accessible. Once installed , you can also run the tests using ::
249+ not be easily accessible. In this case , you can install the libraries needed for tests with ::
250250
251- $ python -c 'import stingray; stingray. test()'
251+ $ pip install " stingray[ test]"
252252
253- or from within a python interpreter :
253+ and then run the tests with: :
254254
255- .. doctest-skip ::
256-
257- >>> import stingray
258- >>> stingray.test()
255+ $ pytest --pyargs stingray
259256
260257Building the Documentation
261258--------------------------
0 commit comments