Created
December 8, 2021 02:45
Revisions
-
thesamesam created this gist
Dec 8, 2021 .There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,31 @@ From c08c30a7b6bf418dc8dd43e755eba82ac816be4b Mon Sep 17 00:00:00 2001 From: Sam James <sam@gentoo.org> Date: Wed, 8 Dec 2021 02:10:34 +0000 Subject: [PATCH] Skip sched/priority tests --- Lib/test/test_posix.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Lib/test/test_posix.py b/Lib/test/test_posix.py index 890b7e0..e379f08 100644 --- a/Lib/test/test_posix.py +++ b/Lib/test/test_posix.py @@ -1725,6 +1725,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): @@ -1745,6 +1746,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): -- 2.34.1