diff options
author | sblondon <sblondon@users.noreply.github.com> | 2018-04-29 19:48:33 +0200 |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2018-04-29 20:48:33 +0300 |
commit | 7d68bfa82654ba01d860b8a772ff63bf0bd183ee (patch) | |
tree | e4a03a4c0cfc7be75b1cdea0aba531b930a18461 /Lib/test/test_cgitb.py | |
parent | 70af06cdc4e8fbee0b9d7d46bdc193097d4bc71f (diff) | |
download | cpython-git-7d68bfa82654ba01d860b8a772ff63bf0bd183ee.tar.gz |
bpo-33256: Replace angle brackets around python object repr to display it in html (GH-6442)
Diffstat (limited to 'Lib/test/test_cgitb.py')
-rw-r--r-- | Lib/test/test_cgitb.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_cgitb.py b/Lib/test/test_cgitb.py index a87a4224f9..e299ec3ec6 100644 --- a/Lib/test/test_cgitb.py +++ b/Lib/test/test_cgitb.py @@ -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) |