aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Lib/test/test_posix.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_posix.py b/Lib/test/test_posix.py
index ae25ef55885..9047ce0b09d 100644
--- a/Lib/test/test_posix.py
+++ b/Lib/test/test_posix.py
@@ -1765,6 +1765,7 @@ class _PosixSpawnMixin:
os.environ, setsigdef=[signal.NSIG, signal.NSIG+1])
@requires_sched
+ @unittest.skip('Gentoo: fails when PORTAGE_NICENESS is set')
@unittest.skipIf(sys.platform.startswith(('freebsd', 'netbsd')),
"bpo-34685: test can fail on BSD")
def test_setscheduler_only_param(self):
@@ -1785,6 +1786,7 @@ class _PosixSpawnMixin:
support.wait_process(pid, exitcode=0)
@requires_sched
+ @unittest.skip('Gentoo: fails when PORTAGE_NICENESS is set')
@unittest.skipIf(sys.platform.startswith(('freebsd', 'netbsd')),
"bpo-34685: test can fail on BSD")
def test_setscheduler_with_policy(self):