def test_get_det_debug_values_ignore():
 prev_value = config.compute_test_value
 try:
  config.compute_test_value = 'ignore'
  x = T.vector()
  for x_val in op.get_debug_values(x):
   assert False
 finally:
  config.compute_test_value = prev_value

def test_get_det_debug_values_ignore ( ) : prev_value = config . compute_test_value try : config . compute_test_value = 'ignore' x = T . vector ( ) for x_val in op . get_debug_values ( x ) : assert False finally : config . compute_test_value = prev_value
get_debug_values should return [] when debugger is ignore and some values are missing .