def test_LISTUnicode(self):
        """
        Unicode filenames returned from L{IFTPShell.list} are encoded using
        UTF-8 before being sent with the response.
        """
        return self._listTestHelper(
            "LIST",
            (u'my resum\xe9', (
                0, 1, filepath.Permissions(0o777), 0, 0, 'user', 'group')),
            b'drwxrwxrwx   0 user      group                   '
            b'0 Jan 01  1970 my resum\xc3\xa9\r\n')

        Unicode filenames returned from L{IFTPShell.list} are encoded using
        UTF-8 before being sent with the response.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/test/test_ftp.py