(self, p)
| 1253 | self.assertEqual(str(P('..', 'b').absolute()), os.path.join(self.base, '..', 'b')) |
| 1254 | |
| 1255 | def _test_home(self, p): |
| 1256 | q = self.cls(os.path.expanduser('~')) |
| 1257 | self.assertEqual(p, q) |
| 1258 | self.assertEqualNormCase(str(p), str(q)) |
| 1259 | self.assertIs(type(p), type(q)) |
| 1260 | self.assertTrue(p.is_absolute()) |
| 1261 | |
| 1262 | @unittest.skipIf( |
| 1263 | pwd is None, reason="Test requires pwd module to get homedir." |
no test coverage detected