Home
last modified time | relevance | path

Searched refs:_deprecate (Results 1 – 3 of 3) sorted by relevance

/external/python/cpython3/Lib/unittest/
Dcase.py1324 def _deprecate(original_func): member in TestCase
1333 failUnlessEqual = assertEquals = _deprecate(assertEqual)
1334 failIfEqual = assertNotEquals = _deprecate(assertNotEqual)
1335 failUnlessAlmostEqual = assertAlmostEquals = _deprecate(assertAlmostEqual)
1336 failIfAlmostEqual = assertNotAlmostEquals = _deprecate(assertNotAlmostEqual)
1337 failUnless = assert_ = _deprecate(assertTrue)
1338 failUnlessRaises = _deprecate(assertRaises)
1339 failIf = _deprecate(assertFalse)
1340 assertRaisesRegexp = _deprecate(assertRaisesRegex)
1341 assertRegexpMatches = _deprecate(assertRegex)
[all …]
/external/python/cpython2/Lib/unittest/
Dcase.py608 def _deprecate(original_func): member in TestCase
616 failUnlessEqual = _deprecate(assertEqual)
617 failIfEqual = _deprecate(assertNotEqual)
618 failUnlessAlmostEqual = _deprecate(assertAlmostEqual)
619 failIfAlmostEqual = _deprecate(assertNotAlmostEqual)
620 failUnless = _deprecate(assertTrue)
621 failUnlessRaises = _deprecate(assertRaises)
622 failIf = _deprecate(assertFalse)
/external/llvm-project/lldb/third_party/Python/module/unittest2/unittest2/
Dcase.py686 def _deprecate(original_func): member in TestCase
694 failUnlessEqual = _deprecate(assertEqual)
695 failIfEqual = _deprecate(assertNotEqual)
696 failUnlessAlmostEqual = _deprecate(assertAlmostEqual)
697 failIfAlmostEqual = _deprecate(assertNotAlmostEqual)
698 failUnless = _deprecate(assertTrue)
699 failUnlessRaises = _deprecate(assertRaises)
700 failIf = _deprecate(assertFalse)