mirror of
https://github.com/python/cpython.git
synced 2025-10-17 20:28:43 +00:00
bpo-33256: Replace angle brackets around python object repr to display it in html (GH-6442)
This commit is contained in:
parent
70af06cdc4
commit
7d68bfa826
4 changed files with 5 additions and 2 deletions
|
@ -45,6 +45,7 @@ class TestCgitb(unittest.TestCase):
|
|||
out = out.decode(sys.getfilesystemencoding())
|
||||
self.assertIn("ValueError", out)
|
||||
self.assertIn("Hello World", out)
|
||||
self.assertIn("<strong><module></strong>", out)
|
||||
# By default we emit HTML markup.
|
||||
self.assertIn('<p>', out)
|
||||
self.assertIn('</p>', out)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue