SF.net SVN: docutils:[9963] trunk/docutils/test/test_writers/ test_manpage.py

grubert--- via Docutils-checkins <[email protected]>
Newsgroups gmane.text.docutils.cvs
Message-ID <[email protected]>
Revision: 9963
          http://sourceforge.net/p/docutils/code/9963
Author:   grubert
Date:     2024-10-22 16:48:31 +0000 (Tue, 22 Oct 2024)
Log Message:
-----------
set report level to 1 to check image INFO

Modified Paths:
--------------
    trunk/docutils/test/test_writers/test_manpage.py

Modified: trunk/docutils/test/test_writers/test_manpage.py
===================================================================
--- trunk/docutils/test/test_writers/test_manpage.py	2024-10-22 16:45:26 UTC (rev 9962)
+++ trunk/docutils/test/test_writers/test_manpage.py	2024-10-22 16:48:31 UTC (rev 9963)
@@ -82,6 +82,7 @@
                         settings_overrides={
                             '_disable_config': True,
                             'strict_visitor': True,
+                            'report_level': 1,
                             'warning_stream': warnings,
                         }).decode()
                     self.assertEqual(case_expected, output)
@@ -605,9 +606,7 @@
 more text
 .\\" End of generated man page.
 """,
-[]
-# TODO check INFO text
-# INFO not in warning_stream    #<string>:3: (INFO/1) "image" not supported\"""
+['<string>:3: (INFO/1) "image" not supported by "manpage" writer.\n']
 ],
 
 # check we get a WARNING if no alt text

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
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.