def METHOD_NAME(self):
    self.assertEqual(relpath("foo", "foo"), "")
    self.assertEqual(relpath(self.SEP.join(("foo", "bar")), "foo/bar"), "")
    self.assertEqual(relpath(self.SEP.join(("foo", "bar")), "foo"), "bar")
    self.assertEqual(
        relpath(self.SEP.join(("foo", "bar", "baz")), "foo"), "bar/baz"
    )
    self.assertEqual(relpath(self.SEP.join(("foo", "bar")), "foo/bar/baz"), "..")
    self.assertEqual(relpath(self.SEP.join(("foo", "bar")), "foo/baz"), "../bar")
    self.assertEqual(relpath("foo/", "foo"), "")
    self.assertEqual(relpath("foo/bar/", "foo"), "bar")