mirror of https://github.com/python/cpython
fix indentation
This commit is contained in:
parent
b0fc9c4d0a
commit
c158158086
|
@ -850,8 +850,8 @@ class PosixTester(unittest.TestCase):
|
||||||
self.assertGreaterEqual(hi, lo)
|
self.assertGreaterEqual(hi, lo)
|
||||||
# OSX evidently just returns 15 without checking the argument.
|
# OSX evidently just returns 15 without checking the argument.
|
||||||
if sys.platform != "darwin":
|
if sys.platform != "darwin":
|
||||||
self.assertRaises(OSError, posix.sched_get_priority_min, -23)
|
self.assertRaises(OSError, posix.sched_get_priority_min, -23)
|
||||||
self.assertRaises(OSError, posix.sched_get_priority_max, -23)
|
self.assertRaises(OSError, posix.sched_get_priority_max, -23)
|
||||||
|
|
||||||
@unittest.skipUnless(hasattr(posix, 'sched_setscheduler'), "can't change scheduler")
|
@unittest.skipUnless(hasattr(posix, 'sched_setscheduler'), "can't change scheduler")
|
||||||
def test_get_and_set_scheduler_and_param(self):
|
def test_get_and_set_scheduler_and_param(self):
|
||||||
|
|
Loading…
Reference in New Issue