Use pytest importlib mode
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user