def test_resolve2_w_slash(self): before = Path('/a/b/') after = Path('/a/b/c') self.assertEqual(before.resolve_name('c'), after)