Home
last modified time | relevance | path

Searched refs:failureException (Results 1 – 25 of 42) sorted by relevance

12

/external/python/cpython2/Lib/unittest/test/
Dtest_case.py296 self.assertIs(Foo('test').failureException, AssertionError)
312 failureException = RuntimeError variable in Test_TestCase.test_failureException__subclassing__explicit_raise.Foo
314 self.assertIs(Foo('test').failureException, RuntimeError)
335 failureException = RuntimeError variable in Test_TestCase.test_failureException__subclassing__implicit_raise.Foo
337 self.assertIs(Foo('test').failureException, RuntimeError)
437 self.assertRaises(self.failureException, self.assertIs, thing, object())
442 self.assertRaises(self.failureException, self.assertIsNot, thing, thing)
447 self.assertRaises(self.failureException, self.assertIsInstance,
453 self.assertRaises(self.failureException, self.assertNotIsInstance,
467 self.assertRaises(self.failureException, self.assertIn, 'x', 'abc')
[all …]
Dtest_assertions.py10 self.assertRaises(self.failureException,
12 self.assertRaises(self.failureException,
16 self.assertRaises(self.failureException,
21 self.assertRaises(self.failureException,
23 self.assertRaises(self.failureException,
27 self.assertRaises(self.failureException, self.assertNotAlmostEqual,
37 self.assertRaises(self.failureException, self.assertNotAlmostEqual,
40 self.assertRaises(self.failureException, self.assertAlmostEqual,
42 self.assertRaises(self.failureException, self.assertNotAlmostEqual,
64 except self.failureException as e:
[all …]
/external/llvm-project/lldb/third_party/Python/module/unittest2/unittest2/test/
Dtest_case.py466 self.assertTrue(Foo('test').failureException is AssertionError)
483 failureException = RuntimeError variable in Test_TestCase.test_failureException__subclassing__explicit_raise.Foo
485 self.assertTrue(Foo('test').failureException is RuntimeError)
506 failureException = RuntimeError variable in Test_TestCase.test_failureException__subclassing__implicit_raise.Foo
508 self.assertTrue(Foo('test').failureException is RuntimeError)
609 self.failureException,
618 self.failureException,
626 self.assertRaises(self.failureException, self.assertIsInstance,
632 self.assertRaises(self.failureException, self.assertNotIsInstance,
646 self.assertRaises(self.failureException, self.assertIn, 'x', 'abc')
[all …]
Dtest_assertions.py11 self.assertRaises(self.failureException,
13 self.assertRaises(self.failureException,
17 self.assertRaises(self.failureException,
22 self.assertRaises(self.failureException,
24 self.assertRaises(self.failureException,
29 self.assertRaises(self.failureException, self.assertNotAlmostEqual,
35 self.assertRaises(self.failureException, self.assertNotAlmostEqual,
44 self.assertRaises(self.failureException, self.assertAlmostEqual,
46 self.assertRaises(self.failureException, self.assertNotAlmostEqual,
65 except self.failureException as e:
[all …]
Dtest_unittest2_with.py38 except self.failureException as e:
60 except self.failureException as e:
78 with self.assertRaises(self.failureException):
/external/python/cpython3/Lib/unittest/test/
Dtest_case.py93 with test.assertRaises(test.failureException):
452 self.assertIs(Foo('test').failureException, AssertionError)
468 failureException = RuntimeError variable in Test_TestCase.test_failureException__subclassing__explicit_raise.Foo
470 self.assertIs(Foo('test').failureException, RuntimeError)
491 failureException = RuntimeError variable in Test_TestCase.test_failureException__subclassing__implicit_raise.Foo
493 self.assertIs(Foo('test').failureException, RuntimeError)
638 self.assertRaises(self.failureException, self.assertIs, thing, object())
643 self.assertRaises(self.failureException, self.assertIsNot, thing, thing)
648 self.assertRaises(self.failureException, self.assertIsInstance,
654 self.assertRaises(self.failureException, self.assertNotIsInstance,
[all …]
Dtest_assertions.py12 self.assertRaises(self.failureException,
14 self.assertRaises(self.failureException,
18 self.assertRaises(self.failureException,
23 self.assertRaises(self.failureException,
25 self.assertRaises(self.failureException,
29 self.assertRaises(self.failureException, self.assertNotAlmostEqual,
39 self.assertRaises(self.failureException, self.assertNotAlmostEqual,
42 self.assertRaises(self.failureException, self.assertAlmostEqual,
44 self.assertRaises(self.failureException, self.assertNotAlmostEqual,
66 except self.failureException as e:
[all …]
/external/llvm-project/lldb/third_party/Python/module/unittest2/unittest2/
Dcase.py134 self.failureException = test_case.failureException
146 raise self.failureException(
159 raise self.failureException(
212 failureException = AssertionError variable in TestCase
414 except self.failureException:
475 raise self.failureException(msg)
481 raise self.failureException(msg)
487 raise self.failureException(msg)
542 raise self.failureException("%s not raised" % excName)
573 raise self.failureException(msg)
[all …]
Dresult.py165 if exctype is test.failureException:
Dsuite.py245 failureException = None variable in _ErrorHolder
/external/python/cpython2/Lib/unittest/
Dcase.py103 self.failureException = test_case.failureException
115 raise self.failureException(
126 raise self.failureException('"%s" does not match "%s"' %
164 failureException = AssertionError variable in TestCase
332 except self.failureException:
410 raise self.failureException(msg)
416 raise self.failureException(msg)
422 raise self.failureException(msg)
506 raise self.failureException(msg)
522 raise self.failureException(msg)
[all …]
Dresult.py159 if exctype is test.failureException:
Dsuite.py262 failureException = None variable in _ErrorHolder
/external/python/asn1crypto/tests/
D_unittest_compat.py120 self.failureException = test_case.failureException
132 raise self.failureException(
143 raise self.failureException(
/external/antlr/runtime/Python/unittests/
Dtestbase.py3 class BrokenTest(unittest.TestCase.failureException):
17 except exceptions or unittest.TestCase.failureException:
/external/antlr/runtime/Python3/unittests/
Dtestbase.py3 class BrokenTest(unittest.TestCase.failureException):
17 except exceptions or unittest.TestCase.failureException:
/external/python/cpython3/Lib/unittest/
Dcase.py163 raise self.test_case.failureException(msg)
342 failureException = AssertionError variable in TestCase
516 if issubclass(exc_info[0], self.failureException):
670 raise self.failureException(msg)
676 raise self.failureException(msg)
682 raise self.failureException(msg)
824 raise self.failureException(msg)
840 raise self.failureException(msg)
885 raise self.failureException(msg)
920 raise self.failureException(msg)
[all …]
Dresult.py135 if issubclass(err[0], test.failureException):
180 if exctype is test.failureException:
Dsuite.py320 failureException = None variable in _ErrorHolder
/external/antlr/runtime/Python/tests/
Dtestbase.py35 class BrokenTest(unittest.TestCase.failureException):
49 except exceptions or unittest.TestCase.failureException:
/external/antlr/runtime/Python3/tests/
Dtestbase.py36 class BrokenTest(unittest.TestCase.failureException):
50 except exceptions or unittest.TestCase.failureException:
/external/autotest/tko/parsers/test/
Dunittest_hotfix.py72 except self.failureException:
/external/protobuf/python/compatibility_tests/v2.5.0/tests/google/protobuf/internal/
Dtext_format_test.py468 raise self.failureException(msg % (exc_name,
473 raise self.failureException('%s not raised' % exc_name)
/external/tensorflow/tensorflow/python/framework/
Dtest_util_test.py220 with self.assertRaises(self.failureException) as fe:
233 with self.assertRaises(self.failureException) as fe:
251 with self.assertRaises(self.failureException):
/external/python/cpython3/Lib/test/
Dtest_largefile.py49 raise cls.failureException('File was not truncated by opening '

12