Skip to content

Remove outdated comment re: PYTHONHASHSEED and pytest. #16407

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 7, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 2 additions & 7 deletions doc/devel/testing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Running the tests is simple. Make sure you have pytest installed and run::

in the root directory of the repository.

pytest can be configured via a lot of `commandline parameters`_. Some
pytest can be configured via a lot of `command-line parameters`_. Some
particularly useful ones are:

============================= ===========
Expand Down Expand Up @@ -76,11 +76,6 @@ running the tests in parallel::

pytest --verbose -n 5

Depending on your version of Python and pytest-xdist, you may need to set
``PYTHONHASHSEED`` to a fixed value when running in parallel::

PYTHONHASHSEED=0 pytest --verbose -n 5

An alternative implementation that does not look at command line arguments
and works from within Python is to run the tests from the Matplotlib library
function :func:`matplotlib.test`::
Expand All @@ -89,7 +84,7 @@ function :func:`matplotlib.test`::
matplotlib.test()


.. _commandline parameters: http://doc.pytest.org/en/latest/usage.html
.. _command-line parameters: http://doc.pytest.org/en/latest/usage.html


Writing a simple test
Expand Down