Skip to content

Commit

Permalink
Configure pytest to support namespace packages. Ref pytest-dev/pytest…
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Mar 31, 2024
1 parent 3fc7a93 commit 6ff02e0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion pytest.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
[pytest]
norecursedirs=dist build .tox .eggs
addopts=--doctest-modules
addopts=
--doctest-modules
--import-mode importlib
consider_namespace_packages=true
filterwarnings=
## upstream

Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ install_requires =
[options.extras_require]
testing =
# upstream
pytest >= 6
pytest >= 6, != 8.1.1
pytest-checkdocs >= 2.4
pytest-cov
pytest-mypy
Expand Down

0 comments on commit 6ff02e0

Please sign in to comment.