class MyError(Exception):
    pass

def raiseError():
    raise MyError(100)


class TestStuff(unittest.TestCase):

    def testError(self):
        pass
In a unit test, how can the parameter passed to a custom exception be determined?