'In this test we have no writer. Make sure the reader doesn\'t
read anything.'

def _testNoWriter(self):

    def checkReadInput(fd):
        self.fail('Must    not    be    called.')
    def stopTest():
        self._writer.close()
        self._reactor.stop()
    self._reader = Reader(self._p1, checkReadInput)
    self._writer = Writer(self._p2, (lambda fd: fd.write('x')))
    self._reactor.addWriter(self._writer)
    self._reactor.removeWriter(self._writer)
    self._reactor.addReader(self._reader)
    self._reactor.callLater(0.001, stopTest)
