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