]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Fix ProgramPriorityTests on FreeBSD with high nice value (GH-100145)
authorDmitry Marakasov <amdmi3@amdmi3.ru>
Sat, 17 Feb 2024 14:54:47 +0000 (17:54 +0300)
committerGitHub <noreply@github.com>
Sat, 17 Feb 2024 14:54:47 +0000 (14:54 +0000)
commit437924465de5cb81988d1e580797b07090c26a28
tree97646a53f83366eb1389b842d9f93bece674ee80
parent265548a4eaaebc3fb379f85f2a919848927f09e5
Fix ProgramPriorityTests on FreeBSD with high nice value (GH-100145)

It expects priority to be capped with 19, which is the cap for Linux,
but for FreeBSD the cap is 20 and the test fails under the similar
conditions. Tweak the condition to cover FreeBSD as well.
Lib/test/test_os.py