Searched refs:failUnlessRaises (Results 1 – 10 of 10) sorted by relevance
/external/python/cpython2/Lib/lib2to3/fixes/ |
D | fix_asserts.py | 21 failUnlessRaises="assertRaises",
|
/external/python/cpython3/Lib/lib2to3/fixes/ |
D | fix_asserts.py | 21 failUnlessRaises="assertRaises",
|
/external/python/cpython2/Lib/unittest/ |
D | case.py | 621 failUnlessRaises = _deprecate(assertRaises) variable in TestCase
|
/external/python/cpython2/Doc/library/ |
D | 2to3.rst | 180 ``failUnlessRaises(exc, cal)`` :meth:`assertRaises(exc, cal)
|
D | unittest.rst | 1338 :meth:`.assertRaises` failUnlessRaises
|
/external/python/cpython3/Doc/library/ |
D | 2to3.rst | 180 ``failUnlessRaises(exc, cal)`` :meth:`assertRaises(exc, cal)
|
D | unittest.rst | 1477 :meth:`.assertRaises` failUnlessRaises
|
/external/python/cpython2/Lib/unittest/test/ |
D | test_case.py | 1089 self.failUnlessRaises(TypeError, lambda _: 3.14 + u'spam')
|
/external/python/cpython3/Lib/unittest/ |
D | case.py | 1347 failUnlessRaises = _deprecate(assertRaises) variable in TestCase
|
/external/python/cpython3/Lib/unittest/test/ |
D | test_case.py | 1679 (self.failUnlessRaises, (TypeError, lambda _: 3.14 + 'spam')),
|