code: def test_roc_dump_multi(
      tmp_directory, roc_multi_classification_raw_data
  ):
      y_test, y_score = roc_multi_classification_raw_data
  
      roc = plot.ROC.from_raw_data(y_test, y_score)
  
      roc.dump("roc.json")
  
      roc2 = plot.ROC.from_dump("roc.json")
  
      assert roc._get_data() == roc2._get_data()
  
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 6 for calling a global function with example usage: test_roc_dump_multi(tmp_directory, roc_multi_classification_raw_data) without return types