def METHOD_NAME(self):
    widths = table.compute_table_widths([
        ['a', 'bb', 'ccc'],
        ['aa', 'b', 'c'],
        ['aaaa', 'bb', 'ccccc'],
        ])
    self.assertEqual([4, 2, 5], widths)
    # With first row longer.
    with self.assertRaises(IndexError):
        widths = table.compute_table_widths([
            ['a', 'bb', 'ccc'],
            ['aaaa', 'bb'],
        ])
    # With first row shorter.
    with self.assertRaises(IndexError):
        widths = table.compute_table_widths([
            ['a', 'bb', 'ccc'],
            ['aaaa', 'bb', 'c', 'd'],
        ])