code: def test_records_author():
      authors = (
          {"London, Jack"},
          {"Burroughs, Edgar Rice", "Wells, H.G. (Herbert George)"},
      )
      for author in authors:
          records = list(DATASET.records(author=author, limit=3))
          assert len(records) >= 1
          assert any(
              athr in author
              for text, meta in records
              for athr in meta["author"]
          )
  
file_path: textacy/tests/datasets/test_oxford_text_archive.py
imports: import datetime
  import os
  import pytest
  from textacy.datasets.oxford_text_archive import OxfordTextArchive
label_desc: Use image node_id 8 for calling a global function with example usage: test_records_author() without return types