Searched refs:SomeException (Results 1 – 8 of 8) sorted by relevance
/external/mockito/src/test/java/org/mockitousage/bugs/ |
D | FillInStackTraceScenariosTest.java | 31 private class SomeException extends RuntimeException {} class in FillInStackTraceScenariosTest 41 return new SomeException(); in fillInStackTrace() 61 } catch(SomeException e) {} in uses_return_value_from_fillInStackTrace()
|
/external/python/cpython2/Lib/test/ |
D | test_cmath.py | 155 class SomeException(Exception): class 159 raise SomeException 162 raise SomeException 220 self.assertRaises(SomeException, f, MyComplexException()) 221 self.assertRaises(SomeException, f, MyComplexExceptionOS())
|
/external/python/cpython3/Lib/test/ |
D | test_cmath.py | 209 class SomeException(Exception): class 213 raise SomeException 216 raise SomeException 272 self.assertRaises(SomeException, f, MyComplexException()) 273 self.assertRaises(SomeException, f, MyComplexExceptionOS())
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.0.rst | 717 :samp:`except {SomeException} as {variable}` instead 718 of :samp:`except {SomeException}, {variable}`. Moreover, the
|
/external/python/cpython3/Doc/library/ |
D | exceptions.rst | 98 except SomeException:
|
D | unittest.rst | 960 with self.assertRaises(SomeException): 970 with self.assertRaises(SomeException) as cm:
|
/external/python/cpython2/Doc/library/ |
D | unittest.rst | 930 with self.assertRaises(SomeException): 937 with self.assertRaises(SomeException) as cm:
|
/external/python/cpython3/Misc/ |
D | HISTORY | 5262 ignore specified exceptions, replacing the "except SomeException: pass" idiom.
|