diff options
Diffstat (limited to 'conftest.py')
-rw-r--r-- | conftest.py | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/conftest.py b/conftest.py index baffac1a..41ab30b9 100644 --- a/conftest.py +++ b/conftest.py @@ -19,23 +19,5 @@ collect_ignore = [ ] -def pytest_configure(config): - disable_coverage_on_pypy(config) - - -def disable_coverage_on_pypy(config): - """ - Coverage makes tests on PyPy unbearably slow, so disable it. - """ - if '__pypy__' not in sys.builtin_module_names: - return - - # Recommended at pytest-dev/pytest-cov#418 - cov = config.pluginmanager.get_plugin('_cov') - cov.options.no_cov = True - if cov.cov_controller: - cov.cov_controller.pause() - - if sys.version_info < (3, 6): collect_ignore.append('pavement.py') |