/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 …]
|
D | test_discovery.py | 115 raise self.failureException('use_load_tests should be False for packages')
|
/external/python/cpython3/Lib/unittest/test/ |
D | test_case.py | 93 with test.assertRaises(test.failureException): 438 self.assertIs(Foo('test').failureException, AssertionError) 454 failureException = RuntimeError variable in Test_TestCase.test_failureException__subclassing__explicit_raise.Foo 456 self.assertIs(Foo('test').failureException, RuntimeError) 477 failureException = RuntimeError variable in Test_TestCase.test_failureException__subclassing__implicit_raise.Foo 479 self.assertIs(Foo('test').failureException, RuntimeError) 615 self.assertRaises(self.failureException, self.assertIs, thing, object()) 620 self.assertRaises(self.failureException, self.assertIsNot, thing, thing) 625 self.assertRaises(self.failureException, self.assertIsInstance, 631 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/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/cpython3/Lib/unittest/ |
D | case.py | 135 raise self.test_case.failureException(msg) 370 failureException = AssertionError variable in TestCase 536 if issubclass(exc_info[0], self.failureException): 666 raise self.failureException(msg) 672 raise self.failureException(msg) 678 raise self.failureException(msg) 814 raise self.failureException(msg) 830 raise self.failureException(msg) 869 raise self.failureException(msg) 901 raise self.failureException(msg) [all …]
|
D | result.py | 135 if issubclass(err[0], test.failureException): 180 if exctype is test.failureException:
|
D | suite.py | 280 failureException = None variable in _ErrorHolder
|
/external/antlr/antlr-3.4/runtime/Python/unittests/ |
D | testbase.py | 3 class BrokenTest(unittest.TestCase.failureException): 17 except exceptions or unittest.TestCase.failureException:
|
/external/tensorflow/tensorflow/python/framework/ |
D | test_util_test.py | 152 with self.assertRaises(self.failureException) as fe: 164 with self.assertRaises(self.failureException) as fe: 181 with self.assertRaises(self.failureException):
|
/external/antlr/antlr-3.4/runtime/Python/tests/ |
D | testbase.py | 35 class BrokenTest(unittest.TestCase.failureException): 49 except exceptions or unittest.TestCase.failureException:
|
/external/autotest/tko/parsers/test/ |
D | unittest_hotfix.py | 72 except self.failureException:
|
/external/chromium-trace/catapult/common/py_trace_event/py_trace_event/ |
D | run_tests | 99 unittest.TestCase.failureException = DebuggingAssertionError
|
/external/python/cpython3/Lib/test/ |
D | test_largefile.py | 45 raise cls.failureException('File was not truncated by opening '
|
D | test_statistics.py | 236 raise self.failureException(msg) 247 raise self.failureException(msg)
|
D | test_optparse.py | 187 raise self.failureException(
|
D | test_typing.py | 40 raise self.failureException(message) 47 raise self.failureException(message)
|
/external/python/cpython2/Lib/test/ |
D | test_optparse.py | 190 raise self.failureException(
|
/external/python/cpython3/Lib/ |
D | doctest.py | 2199 raise self.failureException(self.format_failure(new.getvalue()))
|
/external/python/cpython2/Doc/library/ |
D | unittest.rst | 1101 :data:`self.failureException(msg) <failureException>` when inequality 1206 .. attribute:: failureException
|
/external/python/cpython2/Lib/ |
D | doctest.py | 2226 raise self.failureException(self.format_failure(new.getvalue()))
|
/external/python/cpython3/Doc/library/ |
D | unittest.rst | 1203 :data:`self.failureException(msg) <failureException>` when inequality 1308 .. attribute:: failureException
|