(self, raw_path, *expected)
| 239 | self.assertEqual(self.cls(p2), self.cls('b/c:/d')) |
| 240 | |
| 241 | def _check_parse_path(self, raw_path, *expected): |
| 242 | sep = self.parser.sep |
| 243 | actual = self.cls._parse_path(raw_path.replace('/', sep)) |
| 244 | self.assertEqual(actual, expected) |
| 245 | if altsep := self.parser.altsep: |
| 246 | actual = self.cls._parse_path(raw_path.replace('/', altsep)) |
| 247 | self.assertEqual(actual, expected) |
| 248 | |
| 249 | def test_parse_path_common(self): |
| 250 | check = self._check_parse_path |
nothing calls this directly
no test coverage detected