Skip to content

Commit

Permalink
Fix pytest_collect_file sig
Browse files Browse the repository at this point in the history
  • Loading branch information
pllim committed Jan 6, 2024
1 parent 84ce640 commit 4af229d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pytest_doctestplus/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,7 @@ def get_list_opt(name):
# Let other plugins decide the outcome.
return None

def pytest_collect_file(self, collection_path, parent):
def pytest_collect_file(self, file_path, parent):
"""Implements an enhanced version of the doctest module from py.test
(specifically, as enabled by the --doctest-modules option) which
supports skipping all doctests in a specific docstring by way of a
Expand Down

0 comments on commit 4af229d

Please sign in to comment.