Skip to content

Commit 2cef1c4

Browse files
committed
Note resets only legacy numpy random state
1 parent 20e4551 commit 2cef1c4

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

README.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,10 @@ All of these features are on by default but can be disabled with flags.
5050
fixture
5151
(`docs <https://faker.readthedocs.io/en/master/pytest-fixtures.html#seeding-configuration>`__).
5252

53-
* If `numpy <http://www.numpy.org/>`_ is installed, its global random state is
54-
reset at the start of every test.
53+
* If `numpy <http://www.numpy.org/>`_ is installed, its legacy global random state in |numpy.random|__ is reset at the start of every test.
54+
55+
.. |numpy.random| replace:: ``numpy.random``
56+
__ https://numpy.org/doc/stable/reference/random/index.html
5557

5658
* If additional random generators are used, they can be registered under the
5759
``pytest_randomly.random_seeder``

0 commit comments

Comments
 (0)