From 2effdb033e1494966c5d26caed902d0ebec6367d Mon Sep 17 00:00:00 2001 From: Brendon Smith Date: Thu, 26 Nov 2020 14:04:08 -0500 Subject: [PATCH] Add coverage.py multiprocessing config MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://coverage.readthedocs.io/en/coverage-5.3/config.html > concurrency (multi-string, default “thread”): the name concurrency > libraries in use by the product code. If your program uses > multiprocessing, gevent, greenlet, or eventlet, you must name that > library in this option, or coverage.py will produce very wrong results. --- pyproject.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 1045172..d53b337 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,3 +1,6 @@ +[tool.coverage.run] +concurrency = ["multiprocessing"] + [tool.isort] profile = "black" src_paths = ["inboard", "tests"]