Lines Matching refs:match
212 sys_exception = match = rest = None
218 match = e
222 self.assertEqual(sys_exception, match)
223 self.assertExceptionIsLike(match, match_template)
229 sys_exception = match = rest = None
234 sys_exception = match = sys.exception()
240 self.assertExceptionIsLike(match, match_template)
1019 match, rest = None, None
1024 match = e
1027 return match, rest
1033 match, rest = self.except_type(eg, Bad)
1035 match, ExceptionGroup("eg", [Bad(2)]))
1043 match, rest = self.except_type(eg, TypeError)
1045 match, ExceptionGroup("eg", [TypeError(1)]))
1053 match, rest = self.except_type(eg, OSError)
1054 self.assertIsNone(match)
1061 match, rest = self.except_type(eg, Exception)
1062 self.assertExceptionIsLike(match, eg)
1123 match, rest = None, None
1128 match = e
1131 return match, rest
1140 match, rest = self.except_type(eg, TypeError)
1141 self.assertExceptionIsLike(match, BadEG("eg", [TypeError(1)]))
1153 match, rest = self.except_type(eg, OSError)
1154 self.assertIsNone(match)
1165 match, rest = self.except_type(eg, Exception)
1166 self.assertExceptionIsLike(match, eg)