def test_text(self):
        try:
            raise ValueError("Hello World")
        except __HOLE__ as err:
            text = cgitb.text(sys.exc_info())
            self.assertIn("ValueError", text)
            self.assertIn("Hello World", text)
dataset/ETHPy150Open amrdraz/kodr/app/brython/www/src/Lib/test/test_cgitb.py/TestCgitb.test_text