class_docstr: Command to run unit tests after in-place build
class_docstr_tok: ["Command","to","run","unit","tests","after","in-place","build"]
docstr: Load the indicated attribute value, called, as a as if it were
  specified as an entry point.
docstr_tok: ["Load","the","indicated","attribute","value",",","called",",","as","a","as","if","it","were","specified","as","an","entry","point","."]
code: def _resolve_as_ep(val):
      """
      Load the indicated attribute value, called, as a as if it were
      specified as an entry point.
      """
      return metadata.EntryPoint(
          value=val, name=None, group=None
      ).load()()
  
imports: import os
  import operator
  import sys
  import contextlib
  import itertools
  import unittest
  from distutils.errors import DistutilsError, DistutilsOptionError
  from distutils import log
  from unittest import TestLoader
  from pkg_resources import resource_listdir, resource_exists, normalize_path, working_set, evaluate_marker, add_activation_listener, require
  from .._importlib import metadata
  from setuptools import Command
  from setuptools.extern.more_itertools import unique_everseen
  from setuptools.extern.jaraco.functools import pass_none
label_desc: Use image node_id 12 for calling the test obj's underlying member method code with example usage: obj._resolve_as_ep(val) and returns: metadata