Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0fc9c4 commit c158158Copy full SHA for c158158
1 file changed
Lib/test/test_posix.py
@@ -850,8 +850,8 @@ def test_sched_priority(self):
850
self.assertGreaterEqual(hi, lo)
851
# OSX evidently just returns 15 without checking the argument.
852
if sys.platform != "darwin":
853
- self.assertRaises(OSError, posix.sched_get_priority_min, -23)
854
- self.assertRaises(OSError, posix.sched_get_priority_max, -23)
+ self.assertRaises(OSError, posix.sched_get_priority_min, -23)
+ self.assertRaises(OSError, posix.sched_get_priority_max, -23)
855
856
@unittest.skipUnless(hasattr(posix, 'sched_setscheduler'), "can't change scheduler")
857
def test_get_and_set_scheduler_and_param(self):
0 commit comments