Lines Matching refs:exc_name
61 exc_name = exc_line[depth+2:] # Slice past space
62 if '(' in exc_name:
63 paren_index = exc_name.index('(')
64 platform_name = exc_name[paren_index+1:-1]
65 exc_name = exc_name[:paren_index-1] # Slice off space
67 exc_set.discard(exc_name)
69 if '[' in exc_name:
70 left_bracket = exc_name.index('[')
71 exc_name = exc_name[:left_bracket-1] # cover space
73 exc = getattr(__builtin__, exc_name)
75 self.fail("%s not a built-in exception" % exc_name)
88 self.assertIn(exc_name, exc_set)
89 exc_set.discard(exc_name)