def test_sendRequestBodyErrorWithTooManyBytes(self):
        def finisher(producer):
            producer.finished.errback(ArbitraryException())
            errors = self.flushLoggedErrors(ArbitraryException)
            self.assertEqual(len(errors), 1)
        return self._sendRequestBodyWithTooManyBytesTest(finisher)
Test the creation of a simple XlsxWriter file.
dataset/ETHPy150Open twisted/twisted/twisted/web/test/test_newclient.py/RequestTests.test_sendRequestBodyErrorWithTooManyBytes--crossover with--dataset/ETHPy150Open jmcnamara/XlsxWriter/xlsxwriter/test/comparison/test_properties02.py/TestCompareXLSXFiles.test_create_file