Skip to content

Commit b729f5f

Browse files
committed
use importlib
1 parent 9467bdf commit b729f5f

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

pyproject.toml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,13 @@ where = ["src"]
6161
minversion = "6.0"
6262
testpaths = ["tests", "src/compas_cgal"]
6363
python_files = ["test_*.py", "*_test.py", "test.py"]
64-
addopts = ["-ra", "--strict-markers", "--doctest-glob=*.rst", "--tb=short"]
64+
addopts = [
65+
"-ra",
66+
"--strict-markers",
67+
"--doctest-glob=*.rst",
68+
"--tb=short",
69+
"--import-mode=importlib",
70+
]
6571
doctest_optionflags = [
6672
"NORMALIZE_WHITESPACE",
6773
"IGNORE_EXCEPTION_DETAIL",

0 commit comments

Comments
 (0)