code: def test_load_not_registered(self):
      msg = "no metrics set registered as 'ayy-lmao', options are: []"
      with assert_raises_str(ValueError, msg):
          self.load("ayy-lmao")
  
      # register in reverse order to test the sorting of the options
      self.register("c", set)
      self.register("b", set)
      self.register("a", set)
  
      msg = (
          "no metrics set registered as 'ayy-lmao', options are: "
          "['a', 'b', 'c']"
      )
      with assert_raises_str(ValueError, msg):
          self.load("ayy-lmao")
  
file_path: zipline/tests/metrics/test_core.py
imports: from zipline.finance.metrics.core import _make_metrics_set_core
  from zipline.testing.fixtures import ZiplineTestCase
  from zipline.testing.predicates import assert_equal, assert_is, assert_raises_str
  from zipline.utils.compat import mappingproxy
label_desc: Use image node_id 2 for calling the MetricsSetCoreTestCase obj's underlying member method code with example usage: obj.test_load_not_registered() without return types