1. Antoine Pitrou
  2. pathlib

Commits

Antoine Pitrou  committed 14796a6

Backport 076824de7650

  • Participants
  • Parent commits 1f21668
  • Branches pep428

Comments (0)

Files changed (1)

File test_pathlib.py

View file
  • Ignore whitespace
         # See https://bitbucket.org/pitrou/pathlib/issue/9/pathresolve-fails-on-complex-symlinks
         p = self.cls(BASE)
         self.dirlink('.', join('0'))
-        self.dirlink('0/0', join('1'))
-        self.dirlink('1/1', join('2'))
+        self.dirlink(os.path.join('0', '0'), join('1'))
+        self.dirlink(os.path.join('1', '1'), join('2'))
         q = p / '2'
         self.assertEqual(q.resolve(), p)