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 <[email protected]>
  • Loading branch information
bsipocz and pllim committed Jan 23, 2025
1 parent 44407a6 commit 74cebb8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -336,11 +336,9 @@ the package's ``setup.cfg`` file. The syntax for this option is a list of

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 74cebb8

Please sign in to comment.