code: def test_records_speaker_name():
      speaker_names = (
          {"Bernie Sanders"},
          {"Joseph Biden", "Rick Santorum"},
      )
      for speaker_name in speaker_names:
          records = list(
              DATASET.records(speaker_name=speaker_name, limit=3)
          )
          assert len(records) >= 1
          assert all(
              meta["speaker_name"] in speaker_name
              for text, meta in records
          )
  
file_path: textacy/tests/datasets/test_capitol_words.py
imports: import datetime
  import os
  import pytest
  from textacy.datasets.capitol_words import CapitolWords
label_desc: Use image node_id 7 for calling a global function with example usage: test_records_speaker_name() without return types