def test_unicodeErrorMessageTruncated(self):
        """
        If an error occurs during daemonization and its message is
        unicode and too long, it's truncated by the child, even if
        this splits a unicode escape sequence.
        """
        self.assertErrorWritten(
            raised=u"\u2022" * 30,
            reported=b'1 RuntimeError: ' + b'\\u2022' * 14,
        )

        If an error occurs during daemonization and its message is
        unicode and too long, it's truncated by the child, even if
        this splits a unicode escape sequence.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/test/test_twistd.py