(self)
| 356 | self.assertEqual(bytes(P('a/b')), b'a' + sep + b'b') |
| 357 | |
| 358 | def test_as_posix_common(self): |
| 359 | P = self.cls |
| 360 | for pathstr in ('a', 'a/b', 'a/b/c', '/', '/a/b', '/a/b/c'): |
| 361 | self.assertEqual(P(pathstr).as_posix(), pathstr) |
| 362 | # Other tests for as_posix() are in test_equivalences(). |
| 363 | |
| 364 | def test_eq_common(self): |
| 365 | P = self.cls |
nothing calls this directly
no test coverage detected