Skip to content

Commit

Permalink
Add back importlib import mode
Browse files Browse the repository at this point in the history
The default import mode seems to cause the tests to fail in the CI
environment.
  • Loading branch information
SeanBryan51 committed Mar 21, 2024
1 parent 96f41a5 commit b18cb44
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,13 @@ console_scripts =
benchcab=benchcab.main:main

[tool:pytest]
addopts = --doctest-modules --doctest-glob='*.rst' --ignore setup.py --ignore conftest.py --ignore docs/conf.py
addopts =
--doctest-modules
--doctest-glob='*.rst'
--ignore setup.py
--ignore conftest.py
--ignore docs/conf.py
--import-mode=importlib

[options]
package_dir=
Expand Down

0 comments on commit b18cb44

Please sign in to comment.