docstr: Double check that the bulk_process method in Pipeline converts documents as expected 
docstr_tok: ["Double","check","that","the","bulk_process","method","in","Pipeline","converts","documents","as","expected"]
code: def test_bulk_process(self, pipeline):
      """Double check that the bulk_process method in Pipeline converts documents as expected"""
      # it should process strings
      processed = pipeline.bulk_process(EN_DOCS)
      assert (
          "\n\n".join(["{:C}".format(doc) for doc in processed])
          == EN_DOC_CONLLU_GOLD_MULTIDOC
      )
  
      # it should pass Documents through successfully
      docs = [Document([], text=t) for t in EN_DOCS]
      processed = pipeline.bulk_process(docs)
      assert (
          "\n\n".join(["{:C}".format(doc) for doc in processed])
          == EN_DOC_CONLLU_GOLD_MULTIDOC
      )
  
imports: import pytest
  import stanza
  from stanza.utils.conll import CoNLL
  from stanza.models.common.doc import Document
  from stanza.tests import *
  from stanza.tests.pipeline.pipeline_device_tests import check_on_gpu, check_on_cpu
label_desc: Use image node_id 9 for calling the TestEnglishPipeline obj's underlying member method code with example usage: obj.test_bulk_process(pipeline) without return types