'Test formatting row'

def test_format_row(self, table_types):

    self._setup(table_types)
    table = self.t
    row = table[0]
    assert (repr(row).splitlines() == ['<{0}    {1}{2}>'.format(row.__class__.__name__, 'index=0', ('    masked=True' if table.masked else '')), '        a                    b        ', 'int64    int64', '-----    -----', '                1                    4'])
    assert (str(row).splitlines() == ['    a            b    ', '---    ---', '        1            4'])
    assert (row._repr_html_().splitlines() == ['&lt;{0}    {1}{2}&gt;'.format(row.__class__.__name__, 'index=0', ('    masked=True' if table.masked else '')), '<table    id="table{0}">'.format(id(table)), '<thead><tr><th>a</th><th>b</th></tr></thead>', '<thead><tr><th>int64</th><th>int64</th></tr></thead>', '<tr><td>1</td><td>4</td></tr>', '</table>'])
