code: def test_iter(self):
      rows = records.RecordCollection(IdRecord(i) for i in range(10))
      for i, row in enumerate(rows):
          check_id(i, row)
  
imports: from collections import namedtuple
  import records
  from pytest import raises
label_desc: Use image node_id 1 for calling the TestRecordCollection obj's underlying member method code with example usage: obj.test_iter() without return types