From 0044a42a36fcf7bb2e75f48d9a326199e292d3a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Brigitta=20Sip=C5=91cz?= Date: Thu, 23 Jan 2025 13:54:55 -0800 Subject: [PATCH] Cleanup from review Co-authored-by: P. L. Lim <2090236+pllim@users.noreply.github.com> --- README.rst | 1 - pytest_doctestplus/plugin.py | 1 - 2 files changed, 2 deletions(-) diff --git a/README.rst b/README.rst index fafe755..c7ea141 100644 --- a/README.rst +++ b/README.rst @@ -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 ~~~~~~~~~~~ diff --git a/pytest_doctestplus/plugin.py b/pytest_doctestplus/plugin.py index 40307e3..d323c12 100644 --- a/pytest_doctestplus/plugin.py +++ b/pytest_doctestplus/plugin.py @@ -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)