def test_to_object_array_tuples(self):
        r = (5, 6)
        values = [r]
        result = lib.to_object_array_tuples(values)

        try:
            # make sure record array works
            from collections import namedtuple
            record = namedtuple('record', 'x y')
            r = record(5, 6)
            values = [r]
            result = lib.to_object_array_tuples(values)  # noqa
        except __HOLE__:
            pass
dataset/ETHPy150Open pydata/pandas/pandas/tests/test_tseries.py/TestTypeInference.test_to_object_array_tuples