'C{asBytesMode} on a L{unicode}-mode L{FilePath} returns a new
L{bytes}-mode L{FilePath}.'

def test_asTextModeFromBytes(self):

    fp = filepath.FilePath('./tmp')
    newfp = fp.asTextMode()
    self.assertIsNot(fp, newfp)
    self.assertIsInstance(newfp.path, unicode)
