diff --git a/pytest.ini b/pytest.ini index 0e4d986..8a38f28 100644 --- a/pytest.ini +++ b/pytest.ini @@ -3,6 +3,7 @@ norecursedirs=dist build .tox .eggs addopts= --doctest-modules --import-mode importlib +consider_namespace_packages=true doctest_optionflags=ALLOW_UNICODE ELLIPSIS filterwarnings= ## upstream diff --git a/setup.cfg b/setup.cfg index 4da1e21..08d1159 100644 --- a/setup.cfg +++ b/setup.cfg @@ -29,6 +29,8 @@ install_requires = testing = # upstream pytest >= 6 + # workaround for pytest-dev/pytest#12112 + pytest@git+https://github.com/pytest-dev/pytest@refs/pull/12169/head pytest-checkdocs >= 2.4 pytest-cov pytest-mypy