'Test printing with \'fake\' multidimensional column'

def test_fake_multidim(self, table_type):

    arr = [np.array([[(1,)], [(10,)]], dtype=np.int64), np.array([[(3,)], [(30,)]], dtype=np.int64), np.array([[(5,)], [(50,)]], dtype=np.int64)]
    t = table_type(arr)
    lines = t.pformat()
    assert (lines == ['col0    [1,1]    col1    [1,1]    col2    [1,1]', '----------    ----------    ----------', '                                    1                                        3                                        5', '                                10                                    30                                    50'])
    lines = t.pformat(html=True)
    assert (lines == ['<table    id="table{id}">'.format(id=id(t)), '<thead><tr><th>col0    [1,1]</th><th>col1    [1,1]</th><th>col2    [1,1]</th></tr></thead>', '<tr><td>1</td><td>3</td><td>5</td></tr>', '<tr><td>10</td><td>30</td><td>50</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    [1,1]</th><th>col1    [1,1]</th><th>col2    [1,1]</th></tr></thead>', '<thead><tr><th>int64</th><th>int64</th><th>int64</th></tr></thead>', '<tr><td>1</td><td>3</td><td>5</td></tr>', u'<tr><td>10</td><td>30</td><td>50</td></tr>', '</table>'])
    t = table_type([arr])
    lines = t.pformat()
    assert (lines == ['col0    [2,1,1]', '------------', '                    1    ..    10', '                    3    ..    30', '                    5    ..    50'])
