def test_unicodeTemporarySibling(self):
        """
        A L{unicode} extension to C{temporarySibling} will mean a L{unicode}
        mode L{FilePath} is returned.
        """
        fp = filepath.FilePath(u"/tmp/mon\u20acy")
        tempSibling = fp.temporarySibling(u".txt")
        self.assertIsInstance(tempSibling.path, unicode)

        A L{unicode} extension to C{temporarySibling} will mean a L{unicode}
        mode L{FilePath} is returned.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/test/test_paths.py