'Compare a single block field for equivalence.'

def assertFieldEqual(self, field, expected_block, actual_block):

    if isinstance(field, (Reference, ReferenceList, ReferenceValueDict)):
        self.assertReferenceRelativelyEqual(field, expected_block, actual_block)
    else:
        expected = field.read_from(expected_block)
        actual = field.read_from(actual_block)
        self.assertEqual(expected, actual, LazyFormat("Field    {}    doesn't    match    between    usages    {}    and    {}:    {!r}    !=    {!r}", field.name, expected_block.scope_ids.usage_id, actual_block.scope_ids.usage_id, expected, actual))
