def test_writeSequence(self):
        """
        Test that writeSequence is equivalent to write(''.join(sequece)).
        """
        self.channel.addWindowBytes(20)
        self.channel.writeSequence(map(intToBytes, range(10)))
        self.assertEqual(self.conn.data[self.channel], [b'0123456789'])

        Test that writeSequence is equivalent to write(''.join(sequece)).
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/conch/test/test_channel.py