pytest-repeat is a plugin for py.test that makes it easy to repeat a single test, or multiple tests, a specific number of times.
conda install conda-forge::pytest-repeat
conda install conda-forge/label/cf202003::pytest-repeat