def _setup_fixtures(doctest_item):
 def func():
  pass
 doctest_item.funcargs = {}
 fm = doctest_item.session._fixturemanager
 doctest_item._fixtureinfo = fm.getfixtureinfo(node=doctest_item, func=func, cls=None, funcargs=False)
 fixture_request = FixtureRequest(doctest_item)
 fixture_request._fillfixtures()
 return fixture_request

def _setup_fixtures ( doctest_item ) : def func ( ) : pass doctest_item . funcargs = { } fm = doctest_item . session . _fixturemanager doctest_item . _fixtureinfo = fm . getfixtureinfo ( node = doctest_item , func = func , cls = None , funcargs = False ) fixture_request = FixtureRequest ( doctest_item ) fixture_request . _fillfixtures ( ) return fixture_request
used by doctesttextfile and doctestitem to setup fixture information .