/external/python/cpython2/Lib/unittest/test/ |
test_case.py | 296 self.assertIs(Foo('test').failureException, AssertionError) 303 # Make sure TestCase.run() respects the designated failureException 312 failureException = RuntimeError 314 self.assertIs(Foo('test').failureException, RuntimeError) 326 # Make sure TestCase.run() respects the designated failureException 335 failureException = RuntimeError 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 [all...] |
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...] |
test_discovery.py | 115 raise self.failureException('use_load_tests should be False for packages')
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/unittest/test/ |
test_case.py | 295 self.assertTrue(Foo('test').failureException is AssertionError)
302 # Make sure TestCase.run() respects the designated failureException
311 failureException = RuntimeError
313 self.assertTrue(Foo('test').failureException is RuntimeError)
325 # Make sure TestCase.run() respects the designated failureException
334 failureException = RuntimeError
336 self.assertTrue(Foo('test').failureException is RuntimeError)
436 self.assertRaises(self.failureException, self.assertIs, thing, object())
441 self.assertRaises(self.failureException, self.assertIsNot, thing, thing)
446 self.assertRaises(self.failureException, self.assertIsInstance, [all...] |
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,
36 self.assertRaises(self.failureException, self.assertAlmostEqual,
38 self.assertRaises(self.failureException, self.assertNotAlmostEqual,
60 except self.failureException as e:
82 except self.failureException as e: [all...] |
test_discovery.py | 114 raise self.failureException('use_load_tests should be False for packages')
|
/external/python/cpython3/Lib/unittest/test/ |
test_case.py | 93 with test.assertRaises(test.failureException): 452 self.assertIs(Foo('test').failureException, AssertionError) 459 # Make sure TestCase.run() respects the designated failureException 468 failureException = RuntimeError 470 self.assertIs(Foo('test').failureException, RuntimeError) 482 # Make sure TestCase.run() respects the designated failureException 491 failureException = RuntimeError 493 self.assertIs(Foo('test').failureException, RuntimeError) 629 self.assertRaises(self.failureException, self.assertIs, thing, object()) 634 self.assertRaises(self.failureException, self.assertIsNot, thing, thing [all...] |
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/antlr/runtime/Python/unittests/ |
testbase.py | 3 class BrokenTest(unittest.TestCase.failureException): 17 except exceptions or unittest.TestCase.failureException:
|
/external/antlr/runtime/Python3/unittests/ |
testbase.py | 3 class BrokenTest(unittest.TestCase.failureException): 17 except exceptions or unittest.TestCase.failureException:
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/unittest/ |
case.py | 102 self.failureException = test_case.failureException
114 raise self.failureException(
127 raise self.failureException('"%s" does not match "%s"' %
158 failureException = AssertionError
216 msg= argument that raises self.failureException with a
330 except self.failureException:
408 raise self.failureException(msg)
414 raise self.failureException(msg)
420 raise self.failureException(msg) [all...] |
result.py | 159 if exctype is test.failureException:
|
suite.py | 262 failureException = None
|
/external/python/cpython2/Lib/unittest/ |
case.py | 103 self.failureException = test_case.failureException 115 raise self.failureException( 126 raise self.failureException('"%s" does not match "%s"' % 153 * failureException: determines which exception will be raised when 164 failureException = AssertionError 218 msg= argument that raises self.failureException with a 332 except self.failureException: 410 raise self.failureException(msg) 416 raise self.failureException(msg [all...] |
result.py | 159 if exctype is test.failureException:
|
suite.py | 262 failureException = None
|
/external/python/cpython3/Lib/unittest/ |
case.py | 135 raise self.test_case.failureException(msg) 373 * failureException: determines which exception will be raised when 384 failureException = AssertionError 440 msg= argument that raises self.failureException with a 550 if issubclass(exc_info[0], self.failureException): 680 raise self.failureException(msg) 686 raise self.failureException(msg) 692 raise self.failureException(msg) 832 raise self.failureException(msg) 848 raise self.failureException(msg [all...] |
result.py | 135 if issubclass(err[0], test.failureException): 180 if exctype is test.failureException:
|
suite.py | 280 failureException = None
|
/external/autotest/tko/parsers/test/ |
unittest_hotfix.py | 72 except self.failureException:
|
/external/antlr/runtime/Python/tests/ |
testbase.py | 35 class BrokenTest(unittest.TestCase.failureException): 49 except exceptions or unittest.TestCase.failureException:
|
/external/antlr/runtime/Python3/tests/ |
testbase.py | 36 class BrokenTest(unittest.TestCase.failureException): 50 except exceptions or unittest.TestCase.failureException:
|
/external/chromium-trace/catapult/common/py_trace_event/py_trace_event/ |
run_tests | 99 unittest.TestCase.failureException = DebuggingAssertionError
|
/external/python/cpython3/Lib/test/ |
test_largefile.py | 45 raise cls.failureException('File was not truncated by opening '
|
/external/tensorflow/tensorflow/python/framework/ |
test_util_test.py | 196 with self.assertRaises(self.failureException) as fe: 209 with self.assertRaises(self.failureException) as fe: 227 with self.assertRaises(self.failureException):
|