Skip to content

Commit

Permalink
Cleanup from review
Browse files Browse the repository at this point in the history
Co-authored-by: P. L. Lim <2090236+pllim@users.noreply.github.com>
  • Loading branch information
bsipocz and pllim authored Jan 23, 2025
1 parent 44407a6 commit 0044a42
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,6 @@ Multiple requirements can be specified if separated by semicolons.
It is also possible to conditionally skip all the doctests in a narrative
documentation with ``doctest-requires-all``.


Remote Data
~~~~~~~~~~~

Expand Down
1 change: 0 additions & 1 deletion pytest_doctestplus/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,6 @@ def parse(self, s, name=None):
requires_all_match = [re.match(
fr'{comment_char}\s+doctest-requires-all\s*::\s+(.*)', x) for x in lines]
if any(requires_all_match):
print(requires_all_match)
required_all = [re.split(r'\s*[,\s]\s*', match.group(1)) for match in requires_all_match if match][0]

required_modules_all = DocTestFinderPlus.check_required_modules(required_all)
Expand Down

0 comments on commit 0044a42

Please sign in to comment.