code: def test_works_with_only_groups(init_data, valid_n_splits):
      _, _, groups = init_data
      cv = GroupTimeSeriesSplit(valid_n_splits)
      assert cv.split(groups=groups)
  
imports: import numpy
  import pandas
  import pytest
  from sklearn.linear_model import Lasso
  from sklearn.model_selection import GridSearchCV
  from sklearn.pipeline import Pipeline
  from sklego.model_selection import GroupTimeSeriesSplit
label_desc: Use image node_id 12 for calling a global function with example usage: test_works_with_only_groups(init_data, valid_n_splits) without return types