diff options
author | Christian Heimes <christian@cheimes.de> | 2013-10-25 06:31:19 (GMT) |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2013-10-25 06:31:19 (GMT) |
commit | c4a4b346a6caa46a5df0c9a7adf5c52fe3008d73 (patch) | |
tree | 44e004abb811c7eb409ea9f2815be96323eb8772 /Lib/test | |
parent | 2bcb1f68b65239ea08ee400af3823924124f94ce (diff) | |
download | cpython-c4a4b346a6caa46a5df0c9a7adf5c52fe3008d73.zip cpython-c4a4b346a6caa46a5df0c9a7adf5c52fe3008d73.tar.gz cpython-c4a4b346a6caa46a5df0c9a7adf5c52fe3008d73.tar.bz2 |
Issue #16595: prlimit() needs Linux kernel 2.6.36+
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/test_resource.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_resource.py b/Lib/test/test_resource.py index 239d8d5..2184655 100644 --- a/Lib/test/test_resource.py +++ b/Lib/test/test_resource.py @@ -141,6 +141,7 @@ class ResourceTest(unittest.TestCase): @unittest.skipUnless(hasattr(resource, 'prlimit'), 'no prlimit') + @support.requires_linux_version(2, 6, 36) def test_prlimit(self): self.assertRaises(TypeError, resource.prlimit) if os.geteuid() != 0: |