Skip to content

Commit

Permalink
Adding whitespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
bsipocz committed Jan 24, 2025
1 parent 082ef33 commit a7213fb
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 @@ -444,7 +444,7 @@ def parse(self, s, name=None):
continue

if config.getoption('remote_data', 'none') != 'any':
if any(re.match(fr'{comment_char} doctest-remote-data-all::', x.strip())
if any(re.match(fr'{comment_char}\s+doctest-remote-data-all\s*::', x.strip())
for x in lines):
skip_all = True
continue
Expand Down

0 comments on commit a7213fb

Please sign in to comment.