From b73feee610939f4bafd1b789601e705924a37a41 Mon Sep 17 00:00:00 2001 From: Pauli Virtanen Date: Sun, 3 Dec 2017 17:48:59 +0100 Subject: [PATCH 1/2] Disable coverage warning that causes problems in tests Coverage may print warnings in spawned subprocesses, which causes problems e.g. for test_timeout. Disable problematic warnings. --- .coveragerc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.coveragerc b/.coveragerc index 79c89f939..1d4f8520e 100644 --- a/.coveragerc +++ b/.coveragerc @@ -1,3 +1,5 @@ [run] include = */asv/* branch = True +disable_warnings = + include-ignored From 12a51ee901cfc84cbdd62a5359fb3e02cd48fa94 Mon Sep 17 00:00:00 2001 From: Pauli Virtanen Date: Sun, 3 Dec 2017 18:52:02 +0100 Subject: [PATCH 2/2] Disable pytest logging capture pytest logging capture messes up asv printing, which is also logging-based. --- setup.cfg | 3 +++ 1 file changed, 3 insertions(+) diff --git a/setup.cfg b/setup.cfg index 99cff2382..7c809bceb 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,2 +1,5 @@ [zest.releaser] python-file-with-version = asv/__init__.py + +[tool:pytest] +addopts=-p no:logging