def METHOD_NAME(self):
    # This operation is not supported
    with pytest.raises(ValueError):
        require_version("datasets~=1.0.0")
    # Add some unsupported tokens, e.g. " "
    with pytest.raises(ValueError):
        require_version(" datasets")
    # Add unsupported operation in second requirement version
    with pytest.raises(ValueError):
        require_version("datasets>1.0.0,~1.17.0")