attempt\_import =============== (function from :py:mod:`pyomo.common.dependencies`) .. testsetup:: * # import everything from the module containing this class so that # doctests for the class docstrings see the correct environment from pyomo.common.dependencies import * try: from pyomo.common.dependencies import _autosummary_doctest_setup _autosummary_doctest_setup() except ImportError: pass .. currentmodule:: pyomo.common.dependencies .. autofunction:: pyomo.common.dependencies::attempt_import