def test_writeSequence(self):
        """
        L{FakeTransport.writeSequence} will write a sequence of L{bytes} to the
        transport.
        """
        a = FakeTransport(object(), False)

        a.write(b"a")
        a.writeSequence([b"b", b"c", b"d"])

        self.assertEqual(b"".join(a.stream), b"abcd")

        L{FakeTransport.writeSequence} will write a sequence of L{bytes} to the
        transport.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/test/test_iosim.py