(self)
| 177 | self.assertEqual(str(p), '\\\\a\\b\\c\\d') |
| 178 | |
| 179 | def test_concrete_class(self): |
| 180 | if self.cls is pathlib.PurePath: |
| 181 | expected = pathlib.PureWindowsPath if os.name == 'nt' else pathlib.PurePosixPath |
| 182 | else: |
| 183 | expected = self.cls |
| 184 | p = self.cls('a') |
| 185 | self.assertIs(type(p), expected) |
| 186 | |
| 187 | def test_concrete_parser(self): |
| 188 | if self.cls is pathlib.PurePosixPath: |