def test_mixedTypeGlobChildren(self):
        """
        C{globChildren} will return the same type as the pattern argument.
        """
        fp = filepath.FilePath(u"/")
        children = fp.globChildren(b"*")
        self.assertIsInstance(children[0].path, bytes)

        C{globChildren} will return the same type as the pattern argument.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/test/test_paths.py