Please change to ``raise ValueError("...")`` as to be compatible with Python 3