Skip to content

Commit 7b605ef

Browse files
authored
Explicitly return None
as suggested in #201 (comment)
1 parent 93c6407 commit 7b605ef

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pytest_doctestplus/plugin.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,8 @@ def get_list_opt(name):
554554
self._ignore_paths.append(path)
555555
break
556556

557-
# None = Let other plugins decide the outcome.
557+
# Let other plugins decide the outcome.
558+
return None
558559

559560
def pytest_collect_file(self, path, parent):
560561
"""Implements an enhanced version of the doctest module from py.test

0 commit comments

Comments
 (0)