'``transform`` raises ``KeyError`` if the supplied ``path`` is not
found.'

def test_transform_keyerror(self):

    e = self.assertRaises(KeyError, _TransformProxy(pmap()).transform, ['a'], 1)
    self.assertEqual("Attribute    or    key    'a'    not    found    in    pmap({})", e.message)
