/external/python/cpython2/Lib/unittest/test/ |
D | test_case.py | 296 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 …]
|
D | test_assertions.py | 10 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/ |
D | test_case.py | 466 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 …]
|
D | test_assertions.py | 11 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 …]
|
D | test_unittest2_with.py | 38 except self.failureException as e: 60 except self.failureException as e: 78 with self.assertRaises(self.failureException):
|
/external/python/cpython3/Lib/unittest/test/ |
D | test_case.py | 93 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 …]
|
D | test_assertions.py | 12 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/ |
D | case.py | 134 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 …]
|
D | result.py | 165 if exctype is test.failureException:
|
D | suite.py | 245 failureException = None variable in _ErrorHolder
|
/external/python/cpython2/Lib/unittest/ |
D | case.py | 103 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 …]
|
D | result.py | 159 if exctype is test.failureException:
|
D | suite.py | 262 failureException = None variable in _ErrorHolder
|
/external/python/asn1crypto/tests/ |
D | _unittest_compat.py | 120 self.failureException = test_case.failureException 132 raise self.failureException( 143 raise self.failureException(
|
/external/antlr/runtime/Python/unittests/ |
D | testbase.py | 3 class BrokenTest(unittest.TestCase.failureException): 17 except exceptions or unittest.TestCase.failureException:
|
/external/antlr/runtime/Python3/unittests/ |
D | testbase.py | 3 class BrokenTest(unittest.TestCase.failureException): 17 except exceptions or unittest.TestCase.failureException:
|
/external/python/cpython3/Lib/unittest/ |
D | case.py | 163 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 …]
|
D | result.py | 135 if issubclass(err[0], test.failureException): 180 if exctype is test.failureException:
|
D | suite.py | 320 failureException = None variable in _ErrorHolder
|
/external/antlr/runtime/Python/tests/ |
D | testbase.py | 35 class BrokenTest(unittest.TestCase.failureException): 49 except exceptions or unittest.TestCase.failureException:
|
/external/antlr/runtime/Python3/tests/ |
D | testbase.py | 36 class BrokenTest(unittest.TestCase.failureException): 50 except exceptions or unittest.TestCase.failureException:
|
/external/autotest/tko/parsers/test/ |
D | unittest_hotfix.py | 72 except self.failureException:
|
/external/protobuf/python/compatibility_tests/v2.5.0/tests/google/protobuf/internal/ |
D | text_format_test.py | 468 raise self.failureException(msg % (exc_name, 473 raise self.failureException('%s not raised' % exc_name)
|
/external/tensorflow/tensorflow/python/framework/ |
D | test_util_test.py | 220 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/ |
D | test_largefile.py | 49 raise cls.failureException('File was not truncated by opening '
|