code: def test_records_limit(self):
      for limit in (1, 5, 10):
          assert sum(1 for _ in WIKINEWS.records(limit=limit)) == limit
  
imports: import os
  import re
  import pytest
  from textacy.datasets import wikimedia
label_desc: Use image node_id 7 for calling the TestWikinews obj's underlying member method code with example usage: obj.test_records_limit() without return types