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

enough-analyst-54434

09/04/2015, 11:53 PM
Basically fast_relpath does not act like os.path.relpath for the case:
Copy code
self.assertEqual('b/', fast_relpath('/c/b/', '/c/'))
self.assertEqual('b', os.path.relpath('/c/b/', '/c/'))