'Test the unicode representations of the Frames.'

def test_unicode(self):

    s = u('asdf')
    self.assertRaises(TypeError, zmq.Frame, s)
    for i in range(16):
        s = ((2 ** i) * u('\xc2\xa7'))
        m = zmq.Frame(s.encode('utf8'))
        self.assertEqual(s, unicode(m.bytes, 'utf8'))
