title: Rename method in class body
body: <p>Is it possible to rename method in Python?
  Something like this </p>
  
  <pre><code>class Validation(unittest.TestCase):
  
      def __init__(self, methodName='runTest'):
          super(Validation, self).__init__(methodName)
          #Doesn't work
          setattr(self,'do_folders_equal','test_do_folders_equal')
  </code></pre>
  
  <p>Rename method 'do_folders_equal' to 'test_do_folders_equal'..
   Usage above , obviously, is incorrect...How to do this hack?</p>