Skip to content

Commit df65544

Browse files
committed
Wrap long line to comply with PEP 8
1 parent cc49d0f commit df65544

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Lib/test/test_posix.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2037,8 +2037,11 @@ def test_setscheduler_only_param(self):
20372037
@unittest.skipIf(sys.platform.startswith(('freebsd', 'netbsd')),
20382038
"bpo-34685: test can fail on BSD")
20392039
@unittest.skipIf(platform.libc_ver()[0] == 'glibc' and
2040-
os.sched_getscheduler(0) in [os.SCHED_BATCH, os.SCHED_IDLE, os.SCHED_DEADLINE],
2041-
"On glibc, posix_spawnattr_setschedpolicy cannot change the policy")
2040+
os.sched_getscheduler(0) in [
2041+
os.SCHED_BATCH,
2042+
os.SCHED_IDLE,
2043+
os.SCHED_DEADLINE],
2044+
"Skip test due to glibc posix_spawn policy")
20422045
def test_setscheduler_with_policy(self):
20432046
policy = os.sched_getscheduler(0)
20442047
priority = os.sched_get_priority_min(policy)

0 commit comments

Comments
 (0)