code: def test_get_data(fpr, tpr, expected_fpr, expected_tpr):
      roc = plot.ROC(fpr, tpr)
  
      assert roc._get_data() == {
          "class": "sklearn_evaluation.plot.ROC",
          "version": __version__,
          "fpr": expected_fpr,
          "tpr": expected_tpr,
      }
  
      assert roc._get_data()["fpr"] == roc.fpr
      assert roc._get_data()["tpr"] == roc.tpr
  
file_path: sklearn-evaluation/tests/test_roc.py
imports: import pytest
  import numpy
  from sklearn_evaluation import plot, __version__
label_desc: Use image node_id 2 for calling a global function with example usage: test_get_data(fpr, tpr, expected_fpr, expected_tpr) without return types