'L{_pollingfile._PollableWritePipe.writeSequence} raises a C{TypeError}
if unicode data is part of the data sequence to be appended to the
output buffer.'

def test_writeSequenceUnicode(self):

    p = _pollingfile._PollableWritePipe(1, (lambda : None))
    self.assertRaises(TypeError, p.writeSequence, [u'test'])
    self.assertRaises(TypeError, p.writeSequence, (u'test',))
