diff --git a/pytest_doctestplus/plugin.py b/pytest_doctestplus/plugin.py index e1cca3b..af01501 100644 --- a/pytest_doctestplus/plugin.py +++ b/pytest_doctestplus/plugin.py @@ -554,7 +554,8 @@ def get_list_opt(name): self._ignore_paths.append(path) break - # None = Let other plugins decide the outcome. + # Let other plugins decide the outcome. + return None def pytest_collect_file(self, path, parent): """Implements an enhanced version of the doctest module from py.test