aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/test/test_resource.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_resource.py')
-rw-r--r--Lib/test/test_resource.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/test/test_resource.py b/Lib/test/test_resource.py
index 62c7963fe69..e5ece5284cf 100644
--- a/Lib/test/test_resource.py
+++ b/Lib/test/test_resource.py
@@ -16,6 +16,8 @@ class ResourceTest(unittest.TestCase):
self.assertRaises(TypeError, resource.setrlimit)
self.assertRaises(TypeError, resource.setrlimit, 42, 42, 42)
+ @unittest.skipIf(sys.platform == "vxworks",
+ "setting RLIMIT_FSIZE is not supported on VxWorks")
def test_fsize_ismax(self):
try:
(cur, max) = resource.getrlimit(resource.RLIMIT_FSIZE)
@@ -110,6 +112,8 @@ class ResourceTest(unittest.TestCase):
pass
# Issue 6083: Reference counting bug
+ @unittest.skipIf(sys.platform == "vxworks",
+ "setting RLIMIT_CPU is not supported on VxWorks")
def test_setrusage_refcount(self):
try:
limits = resource.getrlimit(resource.RLIMIT_CPU)