Example #1
0
 def failIfAlmostEqual(self, *args, **kwargs):
     raise DeprecationWarning(
         'The {0}() function is deprecated. Please start using {1}() '
         'instead.'.format('failIfAlmostEqual', 'assertNotAlmostEqual')
     )
     return _TestCase.failIfAlmostEqual(self, *args, **kwargs)