Home
last modified time | relevance | path

Searched refs:failureException (Results 1 – 25 of 31) 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 …]
Dtest_discovery.py115 raise self.failureException('use_load_tests should be False for packages')
/external/python/cpython3/Lib/unittest/test/
Dtest_case.py93 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 …]
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/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/cpython3/Lib/unittest/
Dcase.py135 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 …]
Dresult.py135 if issubclass(err[0], test.failureException):
180 if exctype is test.failureException:
Dsuite.py280 failureException = None variable in _ErrorHolder
/external/antlr/antlr-3.4/runtime/Python/unittests/
Dtestbase.py3 class BrokenTest(unittest.TestCase.failureException):
17 except exceptions or unittest.TestCase.failureException:
/external/tensorflow/tensorflow/python/framework/
Dtest_util_test.py152 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/
Dtestbase.py35 class BrokenTest(unittest.TestCase.failureException):
49 except exceptions or unittest.TestCase.failureException:
/external/autotest/tko/parsers/test/
Dunittest_hotfix.py72 except self.failureException:
/external/chromium-trace/catapult/common/py_trace_event/py_trace_event/
Drun_tests99 unittest.TestCase.failureException = DebuggingAssertionError
/external/python/cpython3/Lib/test/
Dtest_largefile.py45 raise cls.failureException('File was not truncated by opening '
Dtest_statistics.py236 raise self.failureException(msg)
247 raise self.failureException(msg)
Dtest_optparse.py187 raise self.failureException(
Dtest_typing.py40 raise self.failureException(message)
47 raise self.failureException(message)
/external/python/cpython2/Lib/test/
Dtest_optparse.py190 raise self.failureException(
/external/python/cpython3/Lib/
Ddoctest.py2199 raise self.failureException(self.format_failure(new.getvalue()))
/external/python/cpython2/Doc/library/
Dunittest.rst1101 :data:`self.failureException(msg) <failureException>` when inequality
1206 .. attribute:: failureException
/external/python/cpython2/Lib/
Ddoctest.py2226 raise self.failureException(self.format_failure(new.getvalue()))
/external/python/cpython3/Doc/library/
Dunittest.rst1203 :data:`self.failureException(msg) <failureException>` when inequality
1308 .. attribute:: failureException

12