Searched refs:MyException (Results 1 - 11 of 11) sorted by relevance
/third_party/python/Lib/unittest/test/ |
H A D | test_async_case.py | 9 class MyException(Exception): class 151 raise MyException() 168 self.assertIn('MyException', result.errors[0][1]) 175 except MyException: 178 self.fail('Expected a MyException exception') 191 raise MyException() 204 self.assertIn('MyException', result.errors[0][1]) 211 except MyException: 214 self.fail('Expected a MyException exception') 230 raise MyException() [all...] |
H A D | test_case.py | 85 def runTest(self): raise MyException() 106 def runTest(self): raise MyException() 117 def runTest(self): raise MyException() 1962 class MyException(Exception): class 1966 MyException.ninstance += 1 1970 MyException.ninstance -= 1 1974 raise MyException() 1978 raise MyException() 1984 self.assertEqual(MyException.ninstance, 0)
|
/third_party/python/Lib/test/ |
H A D | test_raise.py | 123 class MyException(Exception): class 128 raise MyException 136 class MyException(Exception): class 141 raise MyException 198 class MyException(Exception): class 203 raise IndexError from MyException
|
H A D | test_exceptions.py | 591 class MyException(Exception): class 594 e = MyException().with_traceback(tb) 595 self.assertIsInstance(e, MyException) 632 class MyException(OSError): class 635 e = MyException() 715 class MyException(Exception): class 724 raise MyException(obj) 731 except MyException as e: 743 except MyException: 802 except MyException 963 class MyException(Exception): global() class 1281 class MyException(Exception, metaclass=Meta): global() class [all...] |
H A D | test_contextlib_async.py | 716 class MyException(Exception): class 724 exc = MyException() 741 except MyException as exc:
|
H A D | test_fileio.py | 562 class MyException(Exception): pass class 566 raise MyException("blocked setting name") 569 self.assertRaises(MyException, MyFileIO, fd)
|
H A D | test_contextlib.py | 890 class MyException(Exception): class 898 exc = MyException() 915 except MyException as exc:
|
H A D | test_coroutines.py | 2247 class MyException(Exception): class 2266 raise MyException 2273 except MyException: 2279 self.assertEqual(buffer, [1, 2, 'MyException'])
|
H A D | test_descr.py | 2105 class MyException(Exception): class 2109 raise MyException 2133 self.assertRaises(MyException, runner, X())
|
/third_party/googletest/googlemock/test/ |
H A D | gmock-more-actions_test.cc | 563 class MyException {}; class 566 const Action<double(char ch)> a = Throw(MyException()); in TEST() 567 EXPECT_THROW(a.Perform(std::make_tuple('0')), MyException); in TEST() 571 const Action<double()> a = Throw(MyException()); in TEST() 572 EXPECT_THROW(a.Perform(std::make_tuple()), MyException); in TEST()
|
/third_party/python/Lib/test/test_asyncio/ |
H A D | test_selector_events.py | 1357 class MyException(Exception): class 1360 err = MyException() 1366 exc_info=(MyException, MOCK_ANY, MOCK_ANY))
|
Completed in 25 milliseconds