Use pytest importlib mode

This commit is contained in:
Alex Forencich
2020-12-03 19:33:40 -08:00
parent 435b9c9282
commit 03f8fe0fd3

View File

@@ -40,6 +40,8 @@ include = cocotbext.*
[tool:pytest] [tool:pytest]
testpaths = testpaths =
tests tests
addopts =
--import-mode importlib
# tox configuration # tox configuration
[tox:tox] [tox:tox]
@@ -54,7 +56,7 @@ python =
[testenv] [testenv]
setenv = setenv =
COVERAGE=1 COVERAGE=1
deps = deps =
pytest pytest