Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0604e66

Browse files
authored
Merge pull request #16407 from anntzer/unhashseed
Remove outdated comment re: PYTHONHASHSEED and pytest.
2 parents c449ee4 + 1a8a615 commit 0604e66

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

doc/devel/testing.rst

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Running the tests is simple. Make sure you have pytest installed and run::
4646

4747
in the root directory of the repository.
4848

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

5252
============================= ===========
@@ -76,11 +76,6 @@ running the tests in parallel::
7676

7777
pytest --verbose -n 5
7878

79-
Depending on your version of Python and pytest-xdist, you may need to set
80-
``PYTHONHASHSEED`` to a fixed value when running in parallel::
81-
82-
PYTHONHASHSEED=0 pytest --verbose -n 5
83-
8479
An alternative implementation that does not look at command line arguments
8580
and works from within Python is to run the tests from the Matplotlib library
8681
function :func:`matplotlib.test`::
@@ -89,7 +84,7 @@ function :func:`matplotlib.test`::
8984
matplotlib.test()
9085

9186

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

9489

9590
Writing a simple test

0 commit comments

Comments
 (0)