From 03f8fe0fd34cb30334470e3c24c2aaf1ba27e434 Mon Sep 17 00:00:00 2001 From: Alex Forencich Date: Thu, 3 Dec 2020 19:33:40 -0800 Subject: [PATCH] Use pytest importlib mode --- setup.cfg | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index 1be1612..a27d659 100644 --- a/setup.cfg +++ b/setup.cfg @@ -40,6 +40,8 @@ include = cocotbext.* [tool:pytest] testpaths = tests +addopts = + --import-mode importlib # tox configuration [tox:tox] @@ -54,7 +56,7 @@ python = [testenv] setenv = - COVERAGE=1 + COVERAGE=1 deps = pytest