code: def test_data():
      """[Parallel | Learner] Test data attribute"""
      lr = Learner(OLS(), indexer=data.indexer, name="lr")
      lr.scorer = scorer
  
      _run(lr, "fit", X, y, return_preds=True)
  
      assert lr.raw_data
      assert isinstance(lr.raw_data, list)
      assert isinstance(lr.data, dict)
      assert lr.data.__repr__()
      assert "score" in lr.data.__repr__()
  
imports: import numpy
  from mlens.testing import Data, EstimatorContainer
  from mlens.parallel import Group, Learner, Pipeline, run
  from mlens.utils.dummy import OLS, Scale
  from mlens.externals.sklearn.base import clone
label_desc: Use image node_id 5 for calling a global function with example usage: test_data() without return types