def assert_clock_idle(case, clock):
 case.assertEqual(clock.getDelayedCalls(), [])

def assert_clock_idle ( case , clock ) : case . assertEqual ( clock . getDelayedCalls ( ) , [ ] )
assert that the given clock doesnt have any pending delayed calls .