def test_sendRequestBodyErrorWithTooManyBytes(self):
        def finisher(producer):
            producer.finished.errback(ArbitraryException())
            errors = self.flushLoggedErrors(ArbitraryException)
            self.assertEqual(len(errors), 1)
        return self._sendRequestBodyWithTooManyBytesTest(finisher)
If L{Request} is created with a C{bodyProducer} with a known length and
dataset/ETHPy150Open twisted/twisted/twisted/web/test/test_newclient.py/RequestTests.test_sendRequestBodyErrorWithTooManyBytes