def METHOD_NAME(error):
    assert error.exc_info is not None
    assert isinstance(error.exc_info, tuple)
    assert error.exc_info[0] is NotImplementedError
    assert isinstance(error.exc_info[1], NotImplementedError)
    assert isinstance(error.exc_info[2], types.TracebackType)