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]
testpaths =
tests
addopts =
--import-mode importlib
# tox configuration
[tox:tox]
@@ -54,7 +56,7 @@ python =
[testenv]
setenv =
COVERAGE=1
COVERAGE=1
deps =
pytest