def test_sendRequestBodyErroredEarlyThenTooManyBytes(self):
        def finisher(producer):
            producer.finished.errback(ArbitraryException())
        return self.assertFailure(
            self._sendRequestBodyFinishedEarlyThenTooManyBytes(finisher),
            ArbitraryException)
If the request body producer indicates an error by firing the
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/web/test/test_newclient.py/RequestTests.test_sendRequestBodyErroredEarlyThenTooManyBytes