From 2d2aec1c87db02c5ca46e6a3772c84f316ee3410 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Sat, 30 Mar 2019 13:32:41 +0100 Subject: [PATCH] remove Caveats --- docs/config.rst | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/docs/config.rst b/docs/config.rst index 02a82a0e..f5dc98b3 100644 --- a/docs/config.rst +++ b/docs/config.rst @@ -31,17 +31,6 @@ For example: :: [tool:pytest] addopts = --cov= --cov-report html -Caveats -======= - -A unfortunate consequence of coverage.py's history is that ``.coveragerc`` is a magic name: it's the default file but it also -means "try to also lookup coverage configuration in ``tox.ini`` or ``setup.cfg``". - -In practical terms this means that if you have your coverage configuration in ``tox.ini`` or ``setup.cfg`` it is paramount -that you also use ``--cov-config=tox.ini`` or ``--cov-config=setup.cfg``. - -You might not be affected but it's unlikely that you won't ever use ``chdir`` in a test. - Reference =========