Home
last modified time | relevance | path

Searched refs:MyException (Results 1 – 12 of 12) sorted by relevance

/third_party/python/Lib/unittest/test/
Dtest_async_case.py6 class MyException(Exception): class
90 raise MyException()
113 except MyException:
129 raise MyException()
148 except MyException:
167 raise MyException()
183 except MyException:
206 raise MyException('some error')
210 raise MyException('other error')
224 except MyException:
[all …]
Dtest_case.py85 def runTest(self): raise MyException()
106 def runTest(self): raise MyException()
117 def runTest(self): raise MyException()
1935 class MyException(Exception): class
1939 MyException.ninstance += 1
1943 MyException.ninstance -= 1
1947 raise MyException()
1951 raise MyException()
1957 self.assertEqual(MyException.ninstance, 0)
/third_party/python/Lib/test/
Dtest_raise.py123 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
Dtest_exceptions.py547 class MyException(Exception): class
550 e = MyException().with_traceback(tb)
551 self.assertIsInstance(e, MyException)
588 class MyException(OSError): class
591 e = MyException()
659 class MyException(Exception): class
668 raise MyException(obj)
675 except MyException as e:
687 except MyException:
746 except MyException:
[all …]
Dtest_contextlib_async.py560 class MyException(Exception): class
568 exc = MyException()
585 except MyException as exc:
Dtest_fileio.py560 class MyException(Exception): pass class
564 raise MyException("blocked setting name")
567 self.assertRaises(MyException, MyFileIO, fd)
Dtest_contextlib.py787 class MyException(Exception): class
795 exc = MyException()
812 except MyException as exc:
Dtest_coroutines.py2130 class MyException(Exception): class
2149 raise MyException
2156 except MyException:
Dtest_descr.py2085 class MyException(Exception): class
2089 raise MyException
2113 self.assertRaises(MyException, runner, X())
/third_party/googletest/googlemock/test/
Dgmock-more-actions_test.cc563 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/
Dtest_selector_events.py1360 class MyException(Exception): class
1363 err = MyException()
1369 exc_info=(MyException, MOCK_ANY, MOCK_ANY))
/third_party/lzma/CPP/7zip/Bundles/Alone7z/
DAlone.dsp333 SOURCE=..\..\..\Common\MyException.h