'Calling L{_InputStream.readlines} with a negative integer as an
argument returns a list of all lines from the input.'

def test_readlinesNegative(self):

    bytes = 'red    fish\nblue    fish\n'
    d = self._renderAndReturnReaderResult((lambda input: input.readlines((-1))), bytes)
    d.addCallback(self.assertEqual, ['red    fish\n', 'blue    fish\n'])
    return d
