code: def test_read_write_docs_binary_attrs(self, tmpdir, doc_en):
      expected = [tok.tag_ for tok in doc_en]
      filepath = str(
          tmpdir.join("test_read_write_spacy_docs_binary_exclude.bin")
      )
      io.write_spacy_docs(
          doc_en,
          filepath,
          make_dirs=True,
          format="binary",
          attrs=["ORTH", "TAG"],
          store_user_data=False,
      )
      observed = [
          tok.tag_
          for doc in io.read_spacy_docs(
              filepath, format="binary", lang="en_core_web_sm"
          )
          for tok in doc
      ]
      assert observed == expected
  
imports: import os
  import tarfile
  import zipfile
  import numpy
  import pytest
  from scipy import sparse
  from textacy import io, utils
label_desc: Use image node_id 3 for calling the TestSpacyIO obj's underlying member method code with example usage: obj.test_read_write_docs_binary_attrs(tmpdir, doc_en) without return types