def test_namedtuple(self):

        Point = namedtuple('Point', 'x y')
        point_map = {'origin': [Point(0, 0)]}

        with pytest.raises(TypeError):
            remapped = remap(point_map)
            assert isinstance(remapped['origin'][0], Point)
TODO: this fails right now because namedtuples' __new__ is
dataset/ETHPy150Open mahmoud/boltons/tests/test_iterutils.py/TestRemap.test_namedtuple