'Calling L{FilePath.preauthChild} on a text-mode L{FilePath} with a bytes
subpath will return a bytes-mode FilePath.'

def test_UnicodeInstantiationBytesPreauthChild(self):

    fp = filepath.FilePath(u'./parent-mon\u20acy')
    child = fp.preauthChild(u'child-mon\u20acy'.encode('utf-8'))
    self.assertEqual(type(child.path), bytes)
