class_docstr: Test class for custom metric tests.
docstr: Test loading two custom metrics from two files.
docstr_tok: ["Test","loading","two","custom","metrics","from","two","files","."]
code: def test_register_custom_metric_load_different_files(self):
      """Test loading two custom metrics from two files."""
      # load two custom metrics from two different files
      custom_metrics_file1 = other_dir / "custom_metrics.py"
      custom_metrics_file2 = other_dir / "custom_metrics2.py"
      register_custom_metric(custom_metrics_file1, "f075_macro")
      register_custom_metric(custom_metrics_file2, "f06_micro")
  
      # make sure both are registered
      assert "f075_macro" in _CUSTOM_METRICS
      assert "f06_micro" in _CUSTOM_METRICS
  
imports: import json
  import sys
  import unittest
  from itertools import chain
  import numpy
  from numpy.testing import assert_array_almost_equal, assert_array_equal, assert_raises_regex
  from sklearn.metrics import fbeta_score
  import skll.metrics
  from skll.data import NDJReader
  from skll.experiments import run_configuration
  from skll.learner import Learner
  from skll.metrics import _CUSTOM_METRICS, register_custom_metric, use_score_func
  from skll.utils.testing import config_dir, fill_in_config_paths_for_single_file, make_classification_data, other_dir, output_dir, unlink
label_desc: Use image node_id 6 for calling the TestCustomMetrics obj's underlying member method code with example usage: obj.test_register_custom_metric_load_different_files() without return types