(self, p)
| 1244 | self.assertEqual(str(P('..', 'b').absolute()), os.path.join(self.base, '..', 'b')) |
| 1245 | |
| 1246 | def _test_home(self, p): |
| 1247 | q = self.cls(os.path.expanduser('~')) |
| 1248 | self.assertEqual(p, q) |
| 1249 | self.assertEqualNormCase(str(p), str(q)) |
| 1250 | self.assertIs(type(p), type(q)) |
| 1251 | self.assertTrue(p.is_absolute()) |
| 1252 | |
| 1253 | @unittest.skipIf( |
| 1254 | pwd is None, reason="Test requires pwd module to get homedir." |
no test coverage detected