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