Searched refs:_deprecate (Results 1 – 3 of 3) sorted by relevance
1324 def _deprecate(original_func): member in TestCase1333 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 …]
608 def _deprecate(original_func): member in TestCase616 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)
686 def _deprecate(original_func): member in TestCase694 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)