code: def test_xy_output_type(generator, output_str, output_types):
      # Set the output type and ensure data of that type is generated
      with cuml.using_output_type(output_str):
          data = generator(n_samples=10, random_state=0)
  
      for data, type_ in zip(data, output_types):
          assert isinstance(data, type_)
  
imports: from cuml.datasets import make_arima, make_blobs, make_classification, make_regression
  import cuml
  import pytest
  from cuml.internals.safe_imports import cpu_only_import
  from cuml.internals.safe_imports import gpu_only_import
label_desc: Use image node_id 1 for calling a global function with example usage: test_xy_output_type(generator, output_str, output_types) without return types