def METHOD_NAME(log, fraction):
    splitter = UserSplitter(
        drop_cold_items=False,
        drop_cold_users=False,
        item_test_size=1,
        user_test_size=fraction,
    )
    with pytest.raises(ValueError):
        splitter._get_test_users(log)