Mercurial > p > roundup > code
diff test/test_misc.py @ 7965:6763813d9d34
issue2551350 - Python changes for 3.12 with roundup 2.3.0 cgitb.py
Fix change in pydoc.html.header() signature. It dropped foreground and
background color arguments in 3.11 and newer.
Also enable test code for the html function.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Tue, 14 May 2024 21:27:28 -0400 |
| parents | cbcd6253ebaa |
| children | 70703d22c79a |
line wrap: on
line diff
--- a/test/test_misc.py Tue May 14 20:50:25 2024 -0400 +++ b/test/test_misc.py Tue May 14 21:27:28 2024 -0400 @@ -223,7 +223,7 @@ else: self.assertEqual(expected2, p) - def notest_html(self): + def test_html(self): """ templating error """ # enabiling this will cause the test to fail as the variable # is included in the live output but not in expected.
