code: def test_record_data(self, langs):
      record = ("This is an English sentence.", {"foo": "bar"})
      for lang in langs:
          assert isinstance(
              make_spacy_doc(record, lang=lang), spacy.tokens.Doc
          )
  
imports: import pytest
  import spacy
  from textacy import load_spacy_lang, make_spacy_doc
label_desc: Use image node_id 2 for calling the TestMakeSpacyDoc obj's underlying member method code with example usage: obj.test_record_data(langs) without return types