https://pantsbuild.org/ logo
#general
Title
# general
e

enough-analyst-54434

09/04/2015, 10:42 PM
So a bit of a wag, but not really
Copy code
self.assertEqual('b/', fast_relpath('/c/b/', '/c/'))
    self.assertEqual('b', os.path.relpath('/c/b/', '/c/'))