This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients Arfrever, artifex93, martin.panter, neologix, oquanox, pitrou, serhiy.storchaka, vstinner
Date 2015-01-12.20:55:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1421096106.26.0.566181670118.issue19777@psf.upfronthosting.co.za>
In-reply-to
Content
+    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()?
History
Date User Action Args
2015-01-12 20:55:06vstinnersetrecipients: + vstinner, pitrou, Arfrever, neologix, martin.panter, serhiy.storchaka, oquanox, artifex93
2015-01-12 20:55:06vstinnersetmessageid: <1421096106.26.0.566181670118.issue19777@psf.upfronthosting.co.za>
2015-01-12 20:55:06vstinnerlinkissue19777 messages
2015-01-12 20:55:06vstinnercreate