Re: alltests.py fail if recommonmark not found: fixed

Guenter Milde via Docutils-develop <[email protected]>
Newsgroups gmane.text.docutils.devel
Message-ID <[email protected]>
On 2022-11-22, Guenter Milde via Docutils-develop wrote:

> trying the test suite on an installation without recommonmark, I stumbled
> about a new problem:

>     Traceback (most recent call last):
>       File "/usr/local/src/docutils-git-svn/docutils/test/test_parsers/test_recommonmark/__init__.py", line 14, in <module>
>         import recommonmark
>     ModuleNotFoundError: No module named 'recommonmark'

>     During handling of the above exception, another exception occurred:

>     Traceback (most recent call last):
>     […]
>       File "/usr/local/src/docutils-git-svn/docutils/test/test_parsers/test_recommonmark/__init__.py", line 17, in <module>
>         raise unittest.SkipTest(f'Cannot test "{md_parser}". '
>     unittest.case.SkipTest: Cannot test "recommonmark". Parser not found.

> It seems raising SkipTest is only applicable for test run through the
> unittest framework (where I am not sure all test run).

Fixed in r9264.



_______________________________________________
Docutils-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/docutils-develop

Please use "Reply All" to reply to the list.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.