1 2class TestFailed(Exception): 3 4 """ A Custom Exception raised by the Test Environment. """ 5 6 def __init__ (self, error): 7 self.error = error 8