def test_receiveNetstringPortions_2(self):
        """
        Netstrings can be received in more than two portions, even if
        the length specification is split across two portions.
        """
        for part in [b"1", b"0:01234", b"56789", b","]:
            self.netstringReceiver.dataReceived(part)
        self.assertEqual(self.netstringReceiver.received, [b"0123456789"])

        Netstrings can be received in more than two portions, even if
        the length specification is split across two portions.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/protocols/test/test_basic.py