Description
I would like to globally diable resetting the seed so that a standard pytest run would be equivalent to adding the --randomly-dont-reset-seed flag. As far as I can tell, pytest-randomly does not support reading pyproject.toml sections for flags like these.
My use case is that I am checking that we do not use the global NumPy RandomState generator, and they way I do this is to check the state before and after a test to make sure they are the same. pytest-randomly affects the seed between these and so the global fixture (autouse=True type) fails.
Description
I would like to globally diable resetting the seed so that a standard pytest run would be equivalent to adding the
--randomly-dont-reset-seedflag. As far as I can tell, pytest-randomly does not support reading pyproject.toml sections for flags like these.My use case is that I am checking that we do not use the global NumPy RandomState generator, and they way I do this is to check the state before and after a test to make sure they are the same. pytest-randomly affects the seed between these and so the global fixture (autouse=True type) fails.