def assert_equal_type(logical_line):
 if asse_equal_type_re.match(logical_line):
  (yield (0, 'N317: assertEqual(type(A), B) sentences not allowed'))

def assert_equal_type ( logical_line ) : if asse_equal_type_re . match ( logical_line ) : ( yield ( 0 , 'N317: assertEqual(type(A), B) sentences not allowed' ) )
check for assertequal(type(a) .