diff --git a/py/_path/local.py b/py/_path/local.py index 0e856a66..f72504ee 100644 --- a/py/_path/local.py +++ b/py/_path/local.py @@ -166,9 +166,9 @@ def __hash__(self): return hash(self.strpath) def __eq__(self, other): - s1 = fspath(self) + s1 = normpath(fspath(self)) try: - s2 = fspath(other) + s2 = normpath(fspath(other)) except TypeError: return False if iswin32: