def _assert_n_free(raw_sss, lower, upper=None):
 upper = (lower if (upper is None) else upper)
 n_free = raw_sss.info['proc_history'][0]['max_info']['sss_info']['nfree']
 assert_true((lower <= n_free <= upper), ('nfree fail: %s <= %s <= %s' % (lower, n_free, upper)))

def _assert_n_free ( raw_sss , lower , upper = None ) : upper = ( lower if ( upper is None ) else upper ) n_free = raw_sss . info [ 'proc_history' ] [ 0 ] [ 'max_info' ] [ 'sss_info' ] [ 'nfree' ] assert_true ( ( lower <= n_free <= upper ) , ( 'nfree fail: %s <= %s <= %s' % ( lower , n_free , upper ) ) )
check the dof .