'Test the deprecated data property and as_void() method'

def test_row_and_as_void_with_objects(self, table_types):

    t = table_types.Table([[{'a': 1}, {'b': 2}]], names=('a',))
    assert (t[0][0] == {'a': 1})
    assert (t[0]['a'] == {'a': 1})
    assert (t[0].as_void()[0] == {'a': 1})
    assert (t[0].as_void()['a'] == {'a': 1})
