code: def test_engines_global_methods():
      """Tests the setting of engines using methods like set_engine (global changes)."""
  
      jewellery_dataframe = pycaret.datasets.get_data("jewellery")
      exp = pycaret.clustering.ClusteringExperiment()
  
      # init setup
      exp.setup(
          jewellery_dataframe,
          normalize=True,
          log_experiment=True,
          experiment_custom_tags={"tag": 1},
          log_plots=True,
          html=False,
          session_id=123,
          n_jobs=1,
          engines={"kmeans": "sklearnex"},
      )
  
      assert exp.get_engine("kmeans") == "sklearnex"
  
      # Globally reset engine ----
      exp._set_engine("kmeans", "sklearn")
      assert exp.get_engine("kmeans") == "sklearn"
      model = exp.create_model("kmeans")
      assert isinstance(model, sklearn.cluster.KMeans)
  
file_path: pycaret/tests/test_clustering_engines.py
imports: import daal4py
  import pytest
  import sklearn
  import pycaret.clustering
  import pycaret.datasets
label_desc: Use image node_id 2 for calling a global function with example usage: test_engines_global_methods() without return types