          print('Success: test_reverse')
  
      def test_reverse_inplace(self):
          target_list = ['f', 'o', 'o', ' ', 'b', 'a', 'r']
          reverse_string(target_list)
          assert_equal(target_list, ['r', 'a', 'b', ' ', 'o', 'o', 'f'])
          print('Success: test_reverse_inplace')
  
  
  def main():
 
</s> remove     def test_reverse_inplace(self):
 </s> add     def test_reverse_inplace(self, func): </s> remove     def test_reverse(self):
        assert_equal(reverse_string(None), None)
        assert_equal(reverse_string(['']), [''])
        assert_equal(reverse_string(
 </s> add     def test_reverse(self, func):
        assert_equal(func(None), None)
        assert_equal(func(['']), [''])
        assert_equal(func( </s> remove     "    def test_reverse_inplace(self):\n",
 </s> add     "    def test_reverse_inplace(self, func):\n", </s> remove     "    def test_reverse_inplace(self):\n",
 </s> add     "    def test_reverse_inplace(self, func):\n", </s> remove     "        reverse_string(target_list)\n",
 </s> add     "        func(target_list)\n",
        func(target_list)
          print('Success: test_reverse')
  
      def test_reverse_inplace(self):
          target_list = ['f', 'o', 'o', ' ', 'b', 'a', 'r']
        func(target_list)
          assert_equal(target_list, ['r', 'a', 'b', ' ', 'o', 'o', 'f'])
          print('Success: test_reverse_inplace')
  
  
  def main():
keep keep keep keep replace keep keep keep keep keep
 Move string reverse to a class 
arrays_strings/reverse_string/test_reverse_string.py