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