def test_error01(self):
    elem = create(StaCustom([{'foo': 1}, {'bar': 2}]))
    check_error_msg(self, 'RuntimeError: Invalid key(s) in array data', elem.get_data)
def test_error01(self):
    elem = create(StaCustom([{'foo': 1}, {'bar': 2}]))
    check_error_msg(self, 'RuntimeError: Invalid key(s) in array data', elem.get_data)