def assertTypeError(self, func, expected_message, *args):
        self.assertRaises(func, args, None, TypeError, expected_message)
Assert that TypeError is raised when executing func.
dataset/ETHPy150Open amrdraz/kodr/app/brython/www/src/Lib/test/test_optparse.py/BaseTest.assertTypeError