'L{_pollingfile._PollableWritePipe.write} raises a C{TypeError} if an
attempt is made to append unicode data to the output buffer.'

def test_writeUnicode(self):

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