diff --git a/README.rst b/README.rst index fafe755..48b26f6 100644 --- a/README.rst +++ b/README.rst @@ -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 ~~~~~~~~~~~ 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)