Searched refs:SomeException (Results 1 – 5 of 5) sorted by relevance
209 class SomeException(Exception): class213 raise SomeException216 raise SomeException271 self.assertRaises(SomeException, f, MyComplexException())272 self.assertRaises(SomeException, f, MyComplexExceptionOS())
118 shows how we can convert an instance of ``SomeException`` into an122 original ``SomeException`` had we allowed it to propagate to the caller. ::126 except SomeException:
975 with self.assertRaises(SomeException):985 with self.assertRaises(SomeException) as cm:
717 :samp:`except {SomeException} as {variable}` instead718 of :samp:`except {SomeException}, {variable}`. Moreover, the
5262 ignore specified exceptions, replacing the "except SomeException: pass" idiom.