Skip to content

Commit

Permalink
Restore doctests by utilizing importlib. Ref pytest-dev/pytest#3396.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Dec 22, 2022
1 parent 6e520c0 commit bcd8adc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pytest.ini
@@ -1,6 +1,6 @@
[pytest]
norecursedirs=dist build .tox .eggs
addopts=--doctest-modules
addopts=--doctest-modules --import-mode=importlib
doctest_optionflags=ALLOW_UNICODE ELLIPSIS
filterwarnings=
# Ensure ResourceWarnings are emitted
Expand Down

0 comments on commit bcd8adc

Please sign in to comment.