code: def test_scalar_raises_when_more_than_one(self):
      rows = records.RecordCollection(IdRecord(i) for i in range(3))
      raises(ValueError, rows.scalar)
  
imports: from collections import namedtuple
  import records
  from pytest import raises
label_desc: Use image node_id 21 for calling the TestRecordCollection obj's underlying member method code with example usage: obj.test_scalar_raises_when_more_than_one() without return types