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 8f7ade4 commit 8f94617
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pytest.ini
@@ -1,7 +1,6 @@
[pytest]
norecursedirs=dist build .tox .eggs
# doctests disabled due to pytest-dev/pytest#3396
# 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 8f94617

Please sign in to comment.