code: def _get_stream(self, multiprocess=False):
          
          if multiprocess:
              from flaky.multiprocess_string_io import MultiprocessingStringIO
              return MultiprocessingStringIO()
          return self._stream
docs: Get the stream used to store the flaky report.
          If this nose run is going to use the multiprocess plugin, then use
          a multiprocess-list backed StringIO proxy; otherwise, use the default
          stream.
  
          :param multiprocess:
              Whether or not this test run is configured for multiprocessing.
          :type multiprocess:
              `bool`
          :return:
              The stream to use for storing the flaky report.
          :rtype:
              :class:`StringIO` or :class:`MultiprocessingStringIO`