def METHOD_NAME(self):
    try:
        MyOp(Generic()(), MyType(1)())  # MyOp requires MyType instances
        raise Exception("Expected an exception")
    except Exception as e:
        if str(e) != "Error 1":
            raise