From: PotentialUser-54 <pot...@us...> - 2021-11-18 01:13:57
|
Hi Günter, Unfortunately, I'm getting the same number of failures. To ensure it's not because I applied the previous Git patch or the Git mirror haven't updated or `git pull` didn't update all files correctly, I downloaded the "Snapshot" directly from SourceForge found in [Browse code at this revision](https://sourceforge.net/p/docutils/code/8891/tree/) page. I noticed it was expecting the drive letter to be C, instead of D in the log. However, I am running this test on my D drive. Here is the log: ```pwsh PS <redacted>\docutils-code-r8891-trunk\docutils> python test/alltests.py Testing Docutils 0.18.1b.dev with Python 2.7.18 on 2021-11-17 at 20:04:02 OS: Windows 10 10.0.19041 (win32, Windows-10-10.0.19041) Working directory: <redacted>\docutils-code-r8891-trunk\docutils\test Docutils package: <redacted>\docutils-code-r8891-trunk\docutils\docutils ............................................................................................................................................................................ ......................................................................................................................F......................F.............................. ............................................................................................................................................................................ ........................ test_writers\test_html4css1_template.py: totest['template'][0]; test_publish (DocutilsTestSupport.WriterPublishTestCase) input: ================ Document Title ================ ---------- Subtitle ---------- :Author: Me .. footer:: footer text Section ======= Some text. -: expected +: output head_prefix = """\ <?xml version="1.0" encoding="utf-8" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head>""" head = """\ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="generator" content="Docutils 0.18.1b.dev: http://docutils.sourceforge.net/" /> <title>Document Title</title> <meta name="author" content="Me" />""" stylesheet = """\ - <link rel="stylesheet" href="C:/test.css" type="text/css" />""" ? ^ + <link rel="stylesheet" href="D:/test.css" type="text/css" />""" ? ^ body_prefix = """\ </head> <body> <div class="document" id="document-title">""" body_pre_docinfo = """\ <h1 class="title">Document Title</h1> <h2 class="subtitle" id="subtitle">Subtitle</h2>""" docinfo = """\ <table class="docinfo" frame="void" rules="none"> <col class="docinfo-name" /> <col class="docinfo-content" /> <tbody valign="top"> <tr><th class="docinfo-name">Author:</th> <td>Me</td></tr> </tbody> </table>""" body = """\ <div class="section" id="section"> <h1>Section</h1> <p>Some text.</p> </div>""" body_suffix = """\ </div> <div class="footer"> <hr class="footer" /> footer text </div> </body> </html>""" head_prefix = """\ <?xml version="1.0" encoding="utf-8" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head>""" head = """\ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="generator" content="Docutils 0.18.1b.dev: http://docutils.sourceforge.net/" /> <title>Document Title</title> <meta name="author" content="Me" />""" stylesheet = """\ - <link rel="stylesheet" href="C:/test.css" type="text/css" />""" ? ^ + <link rel="stylesheet" href="D:/test.css" type="text/css" />""" ? ^ body_prefix = """\ </head> <body> <div class="document" id="document-title">""" body_pre_docinfo = """\ <h1 class="title">Document Title</h1> <h2 class="subtitle" id="subtitle">Subtitle</h2>""" docinfo = """\ <table class="docinfo" frame="void" rules="none"> <col class="docinfo-name" /> <col class="docinfo-content" /> <tbody valign="top"> <tr><th class="docinfo-name">Author:</th> <td>Me</td></tr> </tbody> </table>""" body = """\ <div class="section" id="section"> <h1>Section</h1> <p>Some text.</p> </div>""" body_suffix = """\ </div> <div class="footer"> <hr class="footer" /> footer text </div> </body> </html>""" title = """\ Document Title""" subtitle = """\ Subtitle""" header = """\ """ footer = """\ <div class="footer"> <hr class="footer" /> footer text </div>""" meta = """\ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="generator" content="Docutils 0.18.1b.dev: http://docutils.sourceforge.net/" /> <meta name="author" content="Me" />""" fragment = """\ <div class="section" id="section"> <h1>Section</h1> <p>Some text.</p> </div>""" html_prolog = """\ <?xml version="1.0" encoding="%s" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">""" html_head = """\ <meta http-equiv="Content-Type" content="text/html; charset=%s" /> <meta name="generator" content="Docutils 0.18.1b.dev: http://docutils.sourceforge.net/" /> <title>Document Title</title> <meta name="author" content="Me" />""" html_title = """\ <h1 class="title">Document Title</h1>""" html_subtitle = """\ <h2 class="subtitle" id="subtitle">Subtitle</h2>""" html_body = """\ <div class="document" id="document-title"> <h1 class="title">Document Title</h1> <h2 class="subtitle" id="subtitle">Subtitle</h2> <table class="docinfo" frame="void" rules="none"> <col class="docinfo-name" /> <col class="docinfo-content" /> <tbody valign="top"> <tr><th class="docinfo-name">Author:</th> <td>Me</td></tr> </tbody> </table> <div class="section" id="section"> <h1>Section</h1> <p>Some text.</p> </div> </div> <div class="footer"> <hr class="footer" /> footer text </div>""" F......................................................................................................... test_writers\test_s5.py: totest['basics'][0]; test_publish (DocutilsTestSupport.WriterPublishTestCase) input: ============ Show Title ============ Title slide First Slide =========== Slide text. -: expected +: output <?xml version="1.0" encoding="utf-8" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="generator" content="Docutils 0.18.1b.dev: http://docutils.sourceforge.net/" /> <meta name="version" content="S5 1.1" /> <title>Show Title</title> - <link rel="stylesheet" href="C:/test.css" type="text/css" /> ? ^ + <link rel="stylesheet" href="D:/test.css" type="text/css" /> ? ^ <!-- configuration parameters --> <meta name="defaultView" content="slideshow" /> <meta name="controlVis" content="hidden" /> <!-- style sheet links --> <script src="ui/default/slides.js" type="text/javascript"></script> <link rel="stylesheet" href="ui/default/slides.css" type="text/css" media="projection" id="slideProj" /> <link rel="stylesheet" href="ui/default/outline.css" type="text/css" media="screen" id="outlineStyle" /> <link rel="stylesheet" href="ui/default/print.css" type="text/css" media="print" id="slidePrint" /> <link rel="stylesheet" href="ui/default/opera.css" type="text/css" media="projection" id="operaFix" /> <style type="text/css"> #currentSlide {display: none;} </style> </head> <body> <div class="layout"> <div id="controls"></div> <div id="currentSlide"></div> <div id="header"> </div> <div id="footer"> <h1>Show Title</h1> </div> </div> <div class="presentation"> <div class="slide" id="slide0"> <h1 class="title">Show Title</h1> <p>Title slide</p> </div> <div class="slide" id="first-slide"> <h1>First Slide</h1> <p>Slide text.</p> </div> </div> </body> </html> F test_writers\test_s5.py: totest['settings'][0]; test_publish (DocutilsTestSupport.WriterPublishTestCase) input: ================== Bogus Slide Show ================== We're just checking the settings -: expected +: output <?xml version="1.0" encoding="utf-8" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="generator" content="Docutils 0.18.1b.dev: http://docutils.sourceforge.net/" /> <meta name="version" content="S5 1.1" /> <title>Bogus Slide Show</title> - <link rel="stylesheet" href="C:/test.css" type="text/css" /> ? ^ + <link rel="stylesheet" href="D:/test.css" type="text/css" /> ? ^ <!-- configuration parameters --> <meta name="defaultView" content="outline" /> <meta name="controlVis" content="visible" /> <!-- style sheet links --> <script src="ui/default/slides.js" type="text/javascript"></script> <link rel="stylesheet" href="ui/default/slides.css" type="text/css" media="projection" id="slideProj" /> <link rel="stylesheet" href="ui/default/outline.css" type="text/css" media="screen" id="outlineStyle" /> <link rel="stylesheet" href="ui/default/print.css" type="text/css" media="print" id="slidePrint" /> <link rel="stylesheet" href="ui/default/opera.css" type="text/css" media="projection" id="operaFix" /> <style type="text/css"> #currentSlide {display: none;} </style> </head> <body> <div class="layout"> <div id="controls"></div> <div id="currentSlide"></div> <div id="header"> </div> <div id="footer"> <h1>Bogus Slide Show</h1> </div> </div> <div class="presentation"> <div class="slide" id="slide0"> <h1 class="title">Bogus Slide Show</h1> <p>We're just checking the settings</p> </div> </div> </body> </html> F.ss........................................................................................................................................................................ ............................................................................................................................................................................ ............................................................................................................................................................................ .....................................ss..................................................................................................................................... ................................................................................................................................... ====================================================================== FAIL: test_decode_path (test_utils.HelperFunctionTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "<redacted>\docutils-code-r8891-trunk\docutils\test\test_utils.py", line 287, in test_decode_pa th self.assertEqual(strpath, u'sp├ñm') AssertionError: 'sp\xc3\xa4m' != u'sp\xe4m' ====================================================================== FAIL: test_get_stylesheet_list_stylesheet_path (test_utils.StylesheetFunctionTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "<redacted>\docutils-code-r8891-trunk\docutils\test\test_utils.py", line 369, in test_get_style sheet_list_stylesheet_path ['data/ham.css', 'missing.css']) AssertionError: Lists differ: ['data\\ham.css', 'missing.css... != ['data/ham.css', 'missing.css'... First differing element 0: 'data\\ham.css' 'data/ham.css' - ['data\\ham.css', 'missing.css'] ? ^^ + ['data/ham.css', 'missing.css'] ? ^ ====================================================================== FAIL: test_writers\test_html4css1_template.py: totest['template'][0]; test_publish (DocutilsTestSupport.WriterPublishTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "<redacted>\docutils-code-r8891-trunk\docutils\test\DocutilsTestSupport.py", line 686, in test_ publish self.compare_output(self.input, output, self.expected) File "<redacted>\docutils-code-r8891-trunk\docutils\test\DocutilsTestSupport.py", line 230, in compa re_output raise error AssertionError: '''\ head_prefix = """\\ <?xml version="1.0" encoding="utf-8" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head>""" head = """\\ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="generator" content="Docutils 0.18.1b.dev: http://docutils.sourceforge.net/" /> <title>Document Title</title> <meta name="author" content="Me" />""" stylesheet = """\\ <link rel="stylesheet" href="D:/test.css" type="text/css" />""" body_prefix = """\\ </head> <body> <div class="document" id="document-title">""" body_pre_docinfo = """\\ <h1 class="title">Document Title</h1> <h2 class="subtitle" id="subtitle">Subtitle</h2>""" docinfo = """\\ <table class="docinfo" frame="void" rules="none"> <col class="docinfo-name" /> <col class="docinfo-content" /> <tbody valign="top"> <tr><th class="docinfo-name">Author:</th> <td>Me</td></tr> </tbody> </table>""" body = """\\ <div class="section" id="section"> <h1>Section</h1> <p>Some text.</p> </div>""" body_suffix = """\\ </div> <div class="footer"> <hr class="footer" /> footer text </div> </body> </html>""" head_prefix = """\\ <?xml version="1.0" encoding="utf-8" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head>""" head = """\\ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="generator" content="Docutils 0.18.1b.dev: http://docutils.sourceforge.net/" /> <title>Document Title</title> <meta name="author" content="Me" />""" stylesheet = """\\ <link rel="stylesheet" href="D:/test.css" type="text/css" />""" body_prefix = """\\ </head> <body> <div class="document" id="document-title">""" body_pre_docinfo = """\\ <h1 class="title">Document Title</h1> <h2 class="subtitle" id="subtitle">Subtitle</h2>""" docinfo = """\\ <table class="docinfo" frame="void" rules="none"> <col class="docinfo-name" /> <col class="docinfo-content" /> <tbody valign="top"> <tr><th class="docinfo-name">Author:</th> <td>Me</td></tr> </tbody> </table>""" body = """\\ <div class="section" id="section"> <h1>Section</h1> <p>Some text.</p> </div>""" body_suffix = """\\ </div> <div class="footer"> <hr class="footer" /> footer text </div> </body> </html>""" title = """\\ Document Title""" subtitle = """\\ Subtitle""" header = """\\ """ footer = """\\ <div class="footer"> <hr class="footer" /> footer text </div>""" meta = """\\ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="generator" content="Docutils 0.18.1b.dev: http://docutils.sourceforge.net/" /> <meta name="author" content="Me" />""" fragment = """\\ <div class="section" id="section"> <h1>Section</h1> <p>Some text.</p> </div>""" html_prolog = """\\ <?xml version="1.0" encoding="%s" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">""" html_head = """\\ <meta http-equiv="Content-Type" content="text/html; charset=%s" /> <meta name="generator" content="Docutils 0.18.1b.dev: http://docutils.sourceforge.net/" /> <title>Document Title</title> <meta name="author" content="Me" />""" html_title = """\\ <h1 class="title">Document Title</h1>""" html_subtitle = """\\ <h2 class="subtitle" id="subtitle">Subtitle</h2>""" html_body = """\\ <div class="document" id="document-title"> <h1 class="title">Document Title</h1> <h2 class="subtitle" id="subtitle">Subtitle</h2> <table class="docinfo" frame="void" rules="none"> <col class="docinfo-name" /> <col class="docinfo-content" /> <tbody valign="top"> <tr><th class="docinfo-name">Author:</th> <td>Me</td></tr> </tbody> </table> <div class="section" id="section"> <h1>Section</h1> <p>Some text.</p> </div> </div> <div class="footer"> <hr class="footer" /> footer text </div>"""''' != '''\ head_prefix = """\\ <?xml version="1.0" encoding="utf-8" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head>""" head = """\\ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="generator" content="Docutils 0.18.1b.dev: http://docutils.sourceforge.net/" /> <title>Document Title</title> <meta name="author" content="Me" />""" stylesheet = """\\ <link rel="stylesheet" href="C:/test.css" type="text/css" />""" body_prefix = """\\ </head> <body> <div class="document" id="document-title">""" body_pre_docinfo = """\\ <h1 class="title">Document Title</h1> <h2 class="subtitle" id="subtitle">Subtitle</h2>""" docinfo = """\\ <table class="docinfo" frame="void" rules="none"> <col class="docinfo-name" /> <col class="docinfo-content" /> <tbody valign="top"> <tr><th class="docinfo-name">Author:</th> <td>Me</td></tr> </tbody> </table>""" body = """\\ <div class="section" id="section"> <h1>Section</h1> <p>Some text.</p> </div>""" body_suffix = """\\ </div> <div class="footer"> <hr class="footer" /> footer text </div> </body> </html>""" head_prefix = """\\ <?xml version="1.0" encoding="utf-8" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head>""" head = """\\ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="generator" content="Docutils 0.18.1b.dev: http://docutils.sourceforge.net/" /> <title>Document Title</title> <meta name="author" content="Me" />""" stylesheet = """\\ <link rel="stylesheet" href="C:/test.css" type="text/css" />""" body_prefix = """\\ </head> <body> <div class="document" id="document-title">""" body_pre_docinfo = """\\ <h1 class="title">Document Title</h1> <h2 class="subtitle" id="subtitle">Subtitle</h2>""" docinfo = """\\ <table class="docinfo" frame="void" rules="none"> <col class="docinfo-name" /> <col class="docinfo-content" /> <tbody valign="top"> <tr><th class="docinfo-name">Author:</th> <td>Me</td></tr> </tbody> </table>""" body = """\\ <div class="section" id="section"> <h1>Section</h1> <p>Some text.</p> </div>""" body_suffix = """\\ </div> <div class="footer"> <hr class="footer" /> footer text </div> </body> </html>""" title = """\\ Document Title""" subtitle = """\\ Subtitle""" header = """\\ """ footer = """\\ <div class="footer"> <hr class="footer" /> footer text </div>""" meta = """\\ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="generator" content="Docutils 0.18.1b.dev: http://docutils.sourceforge.net/" /> <meta name="author" content="Me" />""" fragment = """\\ <div class="section" id="section"> <h1>Section</h1> <p>Some text.</p> </div>""" html_prolog = """\\ <?xml version="1.0" encoding="%s" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">""" html_head = """\\ <meta http-equiv="Content-Type" content="text/html; charset=%s" /> <meta name="generator" content="Docutils 0.18.1b.dev: http://docutils.sourceforge.net/" /> <title>Document Title</title> <meta name="author" content="Me" />""" html_title = """\\ <h1 class="title">Document Title</h1>""" html_subtitle = """\\ <h2 class="subtitle" id="subtitle">Subtitle</h2>""" html_body = """\\ <div class="document" id="document-title"> <h1 class="title">Document Title</h1> <h2 class="subtitle" id="subtitle">Subtitle</h2> <table class="docinfo" frame="void" rules="none"> <col class="docinfo-name" /> <col class="docinfo-content" /> <tbody valign="top"> <tr><th class="docinfo-name">Author:</th> <td>Me</td></tr> </tbody> </table> <div class="section" id="section"> <h1>Section</h1> <p>Some text.</p> </div> </div> <div class="footer"> <hr class="footer" /> footer text </div>"""''' ====================================================================== FAIL: test_writers\test_s5.py: totest['basics'][0]; test_publish (DocutilsTestSupport.WriterPublishTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "<redacted>\docutils-code-r8891-trunk\docutils\test\DocutilsTestSupport.py", line 686, in test_ publish self.compare_output(self.input, output, self.expected) File "<redacted>\docutils-code-r8891-trunk\docutils\test\DocutilsTestSupport.py", line 230, in compa re_output raise error AssertionError: '''\ <?xml version="1.0" encoding="utf-8" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="generator" content="Docutils 0.18.1b.dev: http://docutils.sourceforge.net/" /> <meta name="version" content="S5 1.1" /> <title>Show Title</title> <link rel="stylesheet" href="D:/test.css" type="text/css" /> <!-- configuration parameters --> <meta name="defaultView" content="slideshow" /> <meta name="controlVis" content="hidden" /> <!-- style sheet links --> <script src="ui/default/slides.js" type="text/javascript"></script> <link rel="stylesheet" href="ui/default/slides.css" type="text/css" media="projection" id="slideProj" /> <link rel="stylesheet" href="ui/default/outline.css" type="text/css" media="screen" id="outlineStyle" /> <link rel="stylesheet" href="ui/default/print.css" type="text/css" media="print" id="slidePrint" /> <link rel="stylesheet" href="ui/default/opera.css" type="text/css" media="projection" id="operaFix" /> <style type="text/css"> #currentSlide {display: none;} </style> </head> <body> <div class="layout"> <div id="controls"></div> <div id="currentSlide"></div> <div id="header"> </div> <div id="footer"> <h1>Show Title</h1> </div> </div> <div class="presentation"> <div class="slide" id="slide0"> <h1 class="title">Show Title</h1> <p>Title slide</p> </div> <div class="slide" id="first-slide"> <h1>First Slide</h1> <p>Slide text.</p> </div> </div> </body> </html>''' != '''\ <?xml version="1.0" encoding="utf-8" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="generator" content="Docutils 0.18.1b.dev: http://docutils.sourceforge.net/" /> <meta name="version" content="S5 1.1" /> <title>Show Title</title> <link rel="stylesheet" href="C:/test.css" type="text/css" /> <!-- configuration parameters --> <meta name="defaultView" content="slideshow" /> <meta name="controlVis" content="hidden" /> <!-- style sheet links --> <script src="ui/default/slides.js" type="text/javascript"></script> <link rel="stylesheet" href="ui/default/slides.css" type="text/css" media="projection" id="slideProj" /> <link rel="stylesheet" href="ui/default/outline.css" type="text/css" media="screen" id="outlineStyle" /> <link rel="stylesheet" href="ui/default/print.css" type="text/css" media="print" id="slidePrint" /> <link rel="stylesheet" href="ui/default/opera.css" type="text/css" media="projection" id="operaFix" /> <style type="text/css"> #currentSlide {display: none;} </style> </head> <body> <div class="layout"> <div id="controls"></div> <div id="currentSlide"></div> <div id="header"> </div> <div id="footer"> <h1>Show Title</h1> </div> </div> <div class="presentation"> <div class="slide" id="slide0"> <h1 class="title">Show Title</h1> <p>Title slide</p> </div> <div class="slide" id="first-slide"> <h1>First Slide</h1> <p>Slide text.</p> </div> </div> </body> </html>''' ====================================================================== FAIL: test_writers\test_s5.py: totest['settings'][0]; test_publish (DocutilsTestSupport.WriterPublishTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "<redacted>\docutils-code-r8891-trunk\docutils\test\DocutilsTestSupport.py", line 686, in test_ publish self.compare_output(self.input, output, self.expected) File "<redacted>\docutils-code-r8891-trunk\docutils\test\DocutilsTestSupport.py", line 230, in compa re_output raise error AssertionError: '''\ <?xml version="1.0" encoding="utf-8" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="generator" content="Docutils 0.18.1b.dev: http://docutils.sourceforge.net/" /> <meta name="version" content="S5 1.1" /> <title>Bogus Slide Show</title> <link rel="stylesheet" href="D:/test.css" type="text/css" /> <!-- configuration parameters --> <meta name="defaultView" content="outline" /> <meta name="controlVis" content="visible" /> <!-- style sheet links --> <script src="ui/default/slides.js" type="text/javascript"></script> <link rel="stylesheet" href="ui/default/slides.css" type="text/css" media="projection" id="slideProj" /> <link rel="stylesheet" href="ui/default/outline.css" type="text/css" media="screen" id="outlineStyle" /> <link rel="stylesheet" href="ui/default/print.css" type="text/css" media="print" id="slidePrint" /> <link rel="stylesheet" href="ui/default/opera.css" type="text/css" media="projection" id="operaFix" /> <style type="text/css"> #currentSlide {display: none;} </style> </head> <body> <div class="layout"> <div id="controls"></div> <div id="currentSlide"></div> <div id="header"> </div> <div id="footer"> <h1>Bogus Slide Show</h1> </div> </div> <div class="presentation"> <div class="slide" id="slide0"> <h1 class="title">Bogus Slide Show</h1> <p>We\'re just checking the settings</p> </div> </div> </body> </html>''' != '''\ <?xml version="1.0" encoding="utf-8" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="generator" content="Docutils 0.18.1b.dev: http://docutils.sourceforge.net/" /> <meta name="version" content="S5 1.1" /> <title>Bogus Slide Show</title> <link rel="stylesheet" href="C:/test.css" type="text/css" /> <!-- configuration parameters --> <meta name="defaultView" content="outline" /> <meta name="controlVis" content="visible" /> <!-- style sheet links --> <script src="ui/default/slides.js" type="text/javascript"></script> <link rel="stylesheet" href="ui/default/slides.css" type="text/css" media="projection" id="slideProj" /> <link rel="stylesheet" href="ui/default/outline.css" type="text/css" media="screen" id="outlineStyle" /> <link rel="stylesheet" href="ui/default/print.css" type="text/css" media="print" id="slidePrint" /> <link rel="stylesheet" href="ui/default/opera.css" type="text/css" media="projection" id="operaFix" /> <style type="text/css"> #currentSlide {display: none;} </style> </head> <body> <div class="layout"> <div id="controls"></div> <div id="currentSlide"></div> <div id="header"> </div> <div id="footer"> <h1>Bogus Slide Show</h1> </div> </div> <div class="presentation"> <div class="slide" id="slide0"> <h1 class="title">Bogus Slide Show</h1> <p>We\'re just checking the settings</p> </div> </div> </body> </html>''' ---------------------------------------------------------------------- Ran 1466 tests in 8.068s FAILED (failures=5, skipped=4) Elapsed time: 8.542 seconds ``` --- ** [bugs:#434] Error when running the test suite for Docutils on Windows 10.** **Status:** open **Labels:** test **Created:** Sun Nov 14, 2021 03:34 PM UTC by PotentialUser-54 **Last Updated:** Wed Nov 17, 2021 07:06 PM UTC **Owner:** nobody Running the test suite for Docutils on Windows 10 using [the instructions](https://docutils.sourceforge.io/README.html#running-the-test-suite) fails. As instructed, I am now opening this bug report after checking that there is not already one. ```pwsh PS <redacted>\docutils\docutils\test> python alltests.py Traceback (most recent call last): File "<redacted>\docutils\docutils\test\alltests.py", line 93, in <module> suite = suite() File "<redacted>\docutils\docutils\test\alltests.py", line 80, in suite suite = package_unittest.loadTestModules(DocutilsTestSupport.testroot, File "<redacted>\docutils\docutils\test\package_unittest.py", line 102, in loadTestModules module = import_module(mod) File "<redacted>\docutils\docutils\test\package_unittest.py", line 133, in import_module mod = __import__(name) File "<redacted>\docutils\docutils\test\test_error_reporting.py", line 212, in <module> class SafeStringTests_locale(unittest.TestCase): File "<redacted>\docutils\docutils\test\test_error_reporting.py", line 225, in SafeStringTests_locale open(b'\xfc') UnicodeDecodeError: 'utf-8' codec can't decode byte 0xfc in position 0: invalid start byte ``` ```pwsh PS <redacted>\docutils\docutils\test> python ../tools/quicktest.py --version quicktest.py (Docutils 0.18 [release]) PS <redacted>\docutils\docutils\test> python --version Python 3.9.6 ``` --- Sent from sourceforge.net because doc...@li... is subscribed to https://sourceforge.net/p/docutils/bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/docutils/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |