Message233887
+ def _test_home(self, p):
+ q = self.cls(os.path.expanduser('~'))
+ self.assertEqual(p, q)
+ self.assertEqual(str(p), str(q))
+ self.assertIs(type(p), type(q))
+ self.assertTrue(p.is_absolute())
+
+ def test_home(self):
+ p = self.cls.home()
+ self._test_home(p)
Why are you using a submethod _test_home()? |
|
Date |
User |
Action |
Args |
2015-01-12 20:55:06 | vstinner | set | recipients:
+ vstinner, pitrou, Arfrever, neologix, martin.panter, serhiy.storchaka, oquanox, artifex93 |
2015-01-12 20:55:06 | vstinner | set | messageid: <1421096106.26.0.566181670118.issue19777@psf.upfronthosting.co.za> |
2015-01-12 20:55:06 | vstinner | link | issue19777 messages |
2015-01-12 20:55:06 | vstinner | create | |
|