'Verify that TypeError is raised when trying to serialize Unicode keys.'

def test_serializeUnicodeKeyRaises(self):

    a = amp.AmpBox(**{u'key': 'value'})
    self.assertRaises(TypeError, a.serialize)
