diff options
| author | sblondon <sblondon@users.noreply.github.com> | 2018-04-29 17:48:33 (GMT) |
|---|---|---|
| committer | Serhiy Storchaka <storchaka@gmail.com> | 2018-04-29 17:48:33 (GMT) |
| commit | 7d68bfa82654ba01d860b8a772ff63bf0bd183ee (patch) | |
| tree | e4a03a4c0cfc7be75b1cdea0aba531b930a18461 /Lib/test/test_cgitb.py | |
| parent | 70af06cdc4e8fbee0b9d7d46bdc193097d4bc71f (diff) | |
| download | cpython-7d68bfa82654ba01d860b8a772ff63bf0bd183ee.zip cpython-7d68bfa82654ba01d860b8a772ff63bf0bd183ee.tar.gz cpython-7d68bfa82654ba01d860b8a772ff63bf0bd183ee.tar.bz2 | |
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 a87a422..e299ec3 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) |
