'Test related to #3023 where a MaskedColumn is created with name=None
and then gets changed to name=\'a\'.  After PR #2790 this test fails
without the #3023 fix.'

def test_add_via_setitem_and_slice(self, table_types):

    t = table_types.Table()
    t['a'] = table_types.Column([1, 2, 3])
    t2 = t[:]
    assert (t2.colnames == t.colnames)
