code: def test_texts_limit():
      for limit in (1, 5, 10):
          assert sum(1 for _ in DATASET.texts(limit=limit)) == limit
  
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 5 for calling a global function with example usage: test_texts_limit() without return types