'Test that the deprecated fail* methods get removed in 3.x'

def _testDeprecatedFailMethods(self):

    if (sys.version_info[:2] < (3, 3)):
        return
    deprecated_names = ['failIfEqual', 'failUnlessEqual', 'failUnlessAlmostEqual', 'failIfAlmostEqual', 'failUnless', 'failUnlessRaises', 'failIf', 'assertDictContainsSubset']
    for deprecated_name in deprecated_names:
        with self.assertRaises(AttributeError):
            getattr(self, deprecated_name)
