code: def test_first_raises_default_if_its_an_exception_instance(self):
      rows = records.RecordCollection(iter([]))
  
      class Cheese(Exception):
          pass
  
      raises(Cheese, rows.first, Cheese("cheddar"))
  
imports: from collections import namedtuple
  import records
  from pytest import raises
label_desc: Use image node_id 11 for calling the TestRecordCollection obj's underlying member method code with example usage: obj.test_first_raises_default_if_its_an_exception_instance() without return types