def testConcatenatedChunks(self):
        chunked = ''.join([''.join(http.toChunk(t)) for t in self.strings])
        result = []
        buffer = ""
        for c in chunked:
            buffer = buffer + c
            try:
                data, buffer = http.fromChunk(buffer)
                result.append(data)
            except __HOLE__:
                pass
        self.assertEquals(result, self.strings)
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/web/test/test_http.py/ChunkingTestCase.testConcatenatedChunks