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 Jan 29, 2023
1 parent 36807ca commit 14b8724
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pytest.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
[pytest]
norecursedirs=dist build .tox .eggs
# disable doctests due to pytest-dev/pytest#3396
# addopts=--doctest-modules
addopts=--doctest-modules --import-mode=importlib
filterwarnings=
# Ensure ResourceWarnings are emitted
default::ResourceWarning
Expand Down

0 comments on commit 14b8724

Please sign in to comment.