Commits

Antoine Pitrou  committed 04dd2f3

Fix small bug in tests

  • Participants
  • Parent commits 528493d

Comments (0)

Files changed (1)

File test_pathlib.py

     def _check_parse_parts(self, arg, expected):
         f = self.flavour.parse_parts
         sep = self.flavour.sep
-        altsep = self.flavour.sep
+        altsep = self.flavour.altsep
         actual = f([x.replace('/', sep) for x in arg])
         self.assertEqual(actual, expected)
         if altsep: