[issue16595] Add resource.prlimit
Antoine Pitrou
report at bugs.python.org
Tue Oct 22 11:39:19 CEST 2013
Antoine Pitrou added the comment:
+ 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.
----------
status: pending -> open
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16595>
_______________________________________
More information about the Python-bugs-list
mailing list