Message200906
| 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. |
|