def _get_capture_plugin(self):
        """
        :rtype: nose.plugins.capture.Capture
        """
        for plugin in self.config.plugins.plugins:
            if plugin.name == "capture":
                return plugin
        return None
def _get_capture_plugin ( self ) : for plugin in self . config . plugins . plugins : if plugin . name == "capture" : return plugin return None
:rtype: nose.plugins.capture.Capture