Source: pydoctor Version: 23.9.1-1 Severity: important Dear Maintainer,
The autopkgtest for your package failed when it was run against python-docutils 0.21.2+dfsg-1 from experimental. The log can be found here: https://ci.debian.net/packages/p/pydoctor/unstable/amd64/48395014/ Relevant part: > 76s =================================== FAILURES > =================================== > 76s _____________________________ test_epytext_inline > ______________________________ > 76s > 76s def test_epytext_inline() -> None: > 76s doc = ''' > 76s I{B{Inline markup} may be nested; and > 76s it may span} multiple lines. > 76s > 76s - I{Italicized text} > 76s - B{Bold-faced text} > 76s - C{Source code} > 76s - Math: M{m*x+b} > 76s > 76s Without the capital letter, matching > 76s braces are not interpreted as markup: > 76s C{my_dict={1:2, 3:4}}. > 76s ''' > 76s expected = ''' > 76s <p> <em> <strong> Inline markup </strong> may be nested; > and it may span </em> multiple lines.</p> > 76s <ul class="rst-simple"> <li> <em> Italicized text </em> > </li> <li> <strong> Bold-faced text </strong> </li> > 76s <li> <tt class="rst-docutils literal"> Source code </tt> > </li> > 76s <li> Math: <span class="rst-math rst-formula"> <i> m > </i> * <i> x </i> + <i> b </i> </span> </li></ul> > 76s <p> Without the capital letter, matching braces are not > interpreted as markup: <tt class="rst-docutils literal"> > 76s <span class="pre"> my_dict={1:2, </span> 3:4} </tt> .</p> > 76s ''' > 76s > assert epytext2html(doc) == squash(expected) > 76s E assert '<p><em><strong>Inline markup</strong>may be nested; and > it may span</em>multiple lines.</p><ul class="rst-simple"><li><em>Italicized > text</em></li><li><strong>Bold-faced text</strong></li><li><tt > class="rst-docutils literal">Source code</tt></li><li>Math:<span > class="rst-formula > rst-math"><i>m</i>*<i>x</i>+<i>b</i></span></li></ul><p>Without the capital > letter, matching braces are not interpreted as markup:<tt class="rst-docutils > literal"><span class="pre">my_dict={1:2,</span>3:4}</tt>.</p>' == > '<p><em><strong>Inline markup</strong>may be nested; and it may > span</em>multiple lines.</p><ul class="rst-simple"><li><em>Italicized > text</em></li><li><strong>Bold-faced text</strong></li><li><tt > class="rst-docutils literal">Source code</tt></li><li>Math:<span > class="rst-math > rst-formula"><i>m</i>*<i>x</i>+<i>b</i></span></li></ul><p>Without the > capital letter, matching braces are not interpreted as markup:<tt > class="rst-docutils literal"><span > class="pre">my_dict={1:2,</span>3:4}</tt>.</p>' > 76s E > 76s E - <p><em><strong>Inline markup</strong>may be nested; and it > may span</em>multiple lines.</p><ul class="rst-simple"><li><em>Italicized > text</em></li><li><strong>Bold-faced text</strong></li><li><tt > class="rst-docutils literal">Source code</tt></li><li>Math:<span > class="rst-math > rst-formula"><i>m</i>*<i>x</i>+<i>b</i></span></li></ul><p>Without the > capital letter, matching braces are not interpreted as markup:<tt > class="rst-docutils literal"><span > class="pre">my_dict={1:2,</span>3:4}</tt>.</p> > 76s E ? > > > ------------ > 76s E + <p><em><strong>Inline markup</strong>may be nested; and it > may span</em>multiple lines.</p><ul class="rst-simple"><li><em>Italicized > text</em></li><li><strong>Bold-faced text</strong></li><li><tt > class="rst-docutils literal">Source code</tt></li><li>Math:<span > class="rst-formula > rst-math"><i>m</i>*<i>x</i>+<i>b</i></span></li></ul><p>Without the capital > letter, matching braces are not interpreted as markup:<tt class="rst-docutils > literal"><span class="pre">my_dict={1:2,</span>3:4}</tt>.</p> > 76s E ? > > > ++++++++++++ > 76s > 76s pydoctor/test/epydoc/test_epytext2html.py:233: AssertionError > 76s _______________________________ test_epytext_url > _______________________________ > 76s > 76s def test_epytext_url() -> None: > 76s doc = ''' > 76s - U{www.python.org} > 76s - U{http://www.python.org} > 76s - U{The epydoc homepage<http:// > 76s epydoc.sourceforge.net>} > 76s - U{The B{I{Python}} homepage > 76s <www.python.org>} > 76s - U{Edward Loper<mailto:edloper@ > 76s gradient.cis.upenn.edu>} > 76s ''' > 76s expected = ''' > 76s <ul class="rst-simple"> > 76s <li><a class="rst-reference external" > href="http://www.python.org" target="_top">www.python.org</a></li> > 76s <li><a class="rst-reference external" > href="http://www.python.org" target="_top">http://www.python.org</a></li> > 76s <li><a class="rst-reference external" > href="http://epydoc.sourceforge.net" target="_top">The epydoc > homepage</a></li> > 76s <li><a class="rst-reference external" > href="http://www.python.org" > target="_top">The<strong><em>Python</em></strong>homepage</a></li> > 76s <li><a class="rst-reference external" > href="mailto:edlo...@gradient.cis.upenn.edu" target="_top">Edward > Loper</a></li></ul>''' > 76s > 76s > assert epytext2html(doc) == squash(expected) > 76s E assert '<ul class="rst-simple"><li><a class="rst-reference > rst-external" href="http://www.python.org" > target="_top">www.python.org</a></li><li><a class="rst-reference > rst-external" href="http://www.python.org" > target="_top">http://www.python.org</a></li><li><a class="rst-reference > rst-external" href="http://epydoc.sourceforge.net" target="_top">The epydoc > homepage</a></li><li><a class="rst-reference rst-external" > href="http://www.python.org" > target="_top">The<strong><em>Python</em></strong>homepage</a></li><li><a > class="rst-reference rst-external" > href="mailto:edlo...@gradient.cis.upenn.edu" target="_top">Edward > Loper</a></li></ul>' == '<ul class="rst-simple"><li><a class="rst-reference > external" href="http://www.python.org" > target="_top">www.python.org</a></li><li><a class="rst-reference external" > href="http://www.python.org" > target="_top">http://www.python.org</a></li><li><a class="rst-reference > external" href="http://epydoc.sourceforge.net" target="_top">The epydoc > homepage</a></li><li><a class="rst-reference external" > href="http://www.python.org" > target="_top">The<strong><em>Python</em></strong>homepage</a></li><li><a > class="rst-reference external" href="mailto:edlo...@gradient.cis.upenn.edu" > target="_top">Edward Loper</a></li></ul>' > 76s E > 76s E - <ul class="rst-simple"><li><a class="rst-reference external" > href="http://www.python.org" target="_top">www.python.org</a></li><li><a > class="rst-reference external" href="http://www.python.org" > target="_top">http://www.python.org</a></li><li><a class="rst-reference > external" href="http://epydoc.sourceforge.net" target="_top">The epydoc > homepage</a></li><li><a class="rst-reference external" > href="http://www.python.org" > target="_top">The<strong><em>Python</em></strong>homepage</a></li><li><a > class="rst-reference external" href="mailto:edlo...@gradient.cis.upenn.edu" > target="_top">Edward Loper</a></li></ul> > 76s E + <ul class="rst-simple"><li><a class="rst-reference > rst-external" href="http://www.python.org" > target="_top">www.python.org</a></li><li><a class="rst-reference > rst-external" href="http://www.python.org" > target="_top">http://www.python.org</a></li><li><a class="rst-reference > rst-external" href="http://epydoc.sourceforge.net" target="_top">The epydoc > homepage</a></li><li><a class="rst-reference rst-external" > href="http://www.python.org" > target="_top">The<strong><em>Python</em></strong>homepage</a></li><li><a > class="rst-reference rst-external" > href="mailto:edlo...@gradient.cis.upenn.edu" target="_top">Edward > Loper</a></li></ul> > 76s E ? ++++ > > ++++ > ++++ > > ++++ > > ++++ > 76s > 76s pydoctor/test/epydoc/test_epytext2html.py:255: AssertionError > [...] > 76s ===== 6 failed, 1314 passed, 1 skipped, 5 deselected, 2 xfailed in 17.43s > ====== -- Dmitry Shachnev
signature.asc
Description: PGP signature