Unit tests should test only the code; they should not run benchmark tests. This task aims to fix this aspect of the testing suite.
For example, if doctests show how to run benchmarks and performance tests, they should be switched off, in order to treat them as examples only, not unit tests of the package. Likewise, Pytest tests should not include performance tests, as they say nothing about how the package works, but about the performance of the functions tested.
Unit tests should test only the code; they should not run benchmark tests. This task aims to fix this aspect of the testing suite.
For example, if doctests show how to run benchmarks and performance tests, they should be switched off, in order to treat them as examples only, not unit tests of the package. Likewise, Pytest tests should not include performance tests, as they say nothing about how the package works, but about the performance of the functions tested.