'Test printing with multidimensional column'

def test_multidim(self, table_type):

    arr = [np.array([[1, 2], [10, 20]], dtype=np.int64), np.array([[3, 4], [30, 40]], dtype=np.int64), np.array([[5, 6], [50, 60]], dtype=np.int64)]
    t = table_type(arr)
    lines = t.pformat()
    assert (lines == ['col0    [2]    col1    [2]    col2    [2]', '--------    --------    --------', '        1    ..    2            3    ..    4            5    ..    6', '10    ..    20    30    ..    40    50    ..    60'])
    lines = t.pformat(html=True)
    assert (lines == ['<table    id="table{id}">'.format(id=id(t)), '<thead><tr><th>col0    [2]</th><th>col1    [2]</th><th>col2    [2]</th></tr></thead>', '<tr><td>1    ..    2</td><td>3    ..    4</td><td>5    ..    6</td></tr>', '<tr><td>10    ..    20</td><td>30    ..    40</td><td>50    ..    60</td></tr>', '</table>'])
    nbclass = table.conf.default_notebook_table_class
    assert (t._repr_html_().splitlines() == ['&lt;{0}    masked={1}    length=2&gt;'.format(table_type.__name__, t.masked), '<table    id="table{id}"    class="{nbclass}">'.format(id=id(t), nbclass=nbclass), '<thead><tr><th>col0    [2]</th><th>col1    [2]</th><th>col2    [2]</th></tr></thead>', '<thead><tr><th>int64</th><th>int64</th><th>int64</th></tr></thead>', '<tr><td>1    ..    2</td><td>3    ..    4</td><td>5    ..    6</td></tr>', '<tr><td>10    ..    20</td><td>30    ..    40</td><td>50    ..    60</td></tr>', '</table>'])
    t = table_type([arr])
    lines = t.pformat()
    assert (lines == ['col0    [2,2]', '----------', '            1    ..    20', '            3    ..    40', '            5    ..    60'])
