def test_receiveNetstringPortions_3(self):
        """
        Netstrings can be received one character at a time.
        """
        for part in [b"2", b":", b"a", b"b", b","]:
            self.netstringReceiver.dataReceived(part)
        self.assertEqual(self.netstringReceiver.received, [b"ab"])

        Netstrings can be received one character at a time.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/protocols/test/test_basic.py