def testCheckedThreadFails(self):

    def err_func():
        return (1 // 0)
    t = self.checkedThread(target=err_func)
    t.start()
    with self.assertRaises(self.failureException) as fe:
        t.join()
    self.assertTrue(('integer division or modulo by zero' in str(fe.exception)))
def testCheckedThreadFails(self):

    def err_func():
        return (1 // 0)
    t = self.checkedThread(target=err_func)
    t.start()
    with self.assertRaises(self.failureException) as fe:
        t.join()
    self.assertTrue(('integer division or modulo by zero' in str(fe.exception)))