def METHOD_NAME(self):
    for kw in 'self', 'dict', 'other', 'iterable':
        d = collections.UserDict()
        d.update(**{kw: 42})
        self.assertEqual(list(d.items()), [(kw, 42)])
    self.assertRaises(TypeError, collections.UserDict().update, 42)
    self.assertRaises(TypeError, collections.UserDict().update, {}, {})
    self.assertRaises(TypeError, collections.UserDict.update)