code: def test_regression_metrics(self, metric):
      y_true = np.array([1.1, 0.9, 1.3, 1.0, 1.4, 5.0])
      y_pred = np.array([0.1, 0.9, 1.1, 1.1, 1.0, 1.0])
      assert isinstance(metric_to_func[metric](y_true, y_pred), float)
  
file_path: responsible-ai-toolbox/erroranalysis/tests/test_metrics.py
imports: import logging
  import numpy
  import pytest
  from erroranalysis._internal.constants import Metrics, ModelTask, binary_classification_metrics, multiclass_classification_metrics, object_detection_metrics, regression_metrics
  from erroranalysis._internal.metrics import metric_to_func
label_desc: Use image node_id 3 for calling the TestMetrics obj's underlying member method code with example usage: obj.test_regression_metrics(metric) without return types