def test_resolve_root(self): path = Path("") self.assertEqual(path.resolve("name"), "name")
def test_resolve_bytes(self): path = Path("my/path") self.assertEqual(path.resolve(b"name"), "my/path/name")