Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(fix): pytest_ignore_collect needs to return None for no opinion
From https://pytest.org/en/7.4.x/changelog.html#pytest-7-4-0-2023-06-23 > #11081: The norecursedirs check is now performed in a pytest_ignore_collect implementation, so plugins can affect it. > > If after updating to this version you see that your norecursedirs setting is not being respected, it means that a conftest or a plugin you use has a bad pytest_ignore_collect implementation. Most likely, your hook returns False for paths it does not want to ignore, which ends the processing and doesn’t allow other plugins, including pytest itself, to ignore the path. The fix is to return None instead of False for paths your hook doesn’t want to ignore.
- Loading branch information