Author pitrou
Recipients Arfrever, christian.heimes, giampaolo.rodola, pitrou, python-dev, vajrasky, vstinner
Date 2013-10-22.09:39:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1382434759.57.0.753437447178.issue16595@psf.upfronthosting.co.za>
In-reply-to
Content
+        self.assertRaises(PermissionError, resource.prlimit,
+                          1, resource.RLIMIT_AS)

Please skip this when run as root.

+        self.assertEqual(resource.prlimit(0, resource.RLIMIT_AS), (-1, -1))

What if it's not that value by default? Please fix the test to make it
more robust.
History
Date User Action Args
2013-10-22 09:39:19pitrousetrecipients: + pitrou, vstinner, giampaolo.rodola, christian.heimes, Arfrever, python-dev, vajrasky
2013-10-22 09:39:19pitrousetmessageid: <1382434759.57.0.753437447178.issue16595@psf.upfronthosting.co.za>
2013-10-22 09:39:19pitroulinkissue16595 messages
2013-10-22 09:39:19pitroucreate