Lines Matching refs:Bad
1030 for Bad in self.bad_types:
1031 with self.subTest(Bad):
1032 eg = ExceptionGroup("eg", [TypeError(1), Bad(2)])
1033 match, rest = self.except_type(eg, Bad)
1035 match, ExceptionGroup("eg", [Bad(2)]))
1040 for Bad in self.bad_types:
1041 with self.subTest(Bad):
1042 eg = ExceptionGroup("eg", [TypeError(1), Bad(2)])
1047 rest, ExceptionGroup("eg", [Bad(2)]))
1050 for Bad in self.bad_types:
1051 with self.subTest(Bad):
1052 eg = ExceptionGroup("eg", [TypeError(1), Bad(2)])
1058 for Bad in self.bad_types:
1059 with self.subTest(Bad):
1060 eg = ExceptionGroup("eg", [TypeError(1), Bad(2)])
1066 for Bad in self.bad_types:
1067 with self.subTest(Bad):
1069 "eg", [TypeError(1), Bad(2), ValueError(3)])
1076 except* Bad:
1082 exc, ExceptionGroup("eg", [Bad(2), ValueError(3)]))