     },
     "outputs": [],
     "source": [
      "# %load test_quick_sort.py\n",
      "from nose.tools import assert_equal\n",
      "\n",
      "\n",
      "class TestQuickSort(object):\n",
      "    def test_quick_sort(self, func):\n",
      "        print('None input')\n",
 
</s> remove     "    def test_quick_sort(self, func):\n",
 </s> add     "\n",
    "    def test_quick_sort(self):\n",
    "        quick_sort = QuickSort()\n",
    "\n", </s> remove     "def quick_sort(data):\n",
    "    # TODO: Implement me\n",
    "    pass"
 </s> add     "class QuickSort(object):\n",
    "\n",
    "    def sort(self, data):\n",
    "        # TODO: Implement me\n",
    "        pass" </s> remove     "        data = None\n",
    "        sorted_data = func(data)\n",
    "        assert_equal(sorted_data, None)\n",
 </s> add     "        assert_raises(TypeError, quick_sort.sort, None)\n", </s> remove from nose.tools import assert_equal
 </s> add from nose.tools import assert_equal, assert_raises </s> remove     "* Is a naiive solution sufficient (ie not in-place)?\n",
 </s> add     "* Is a naive solution sufficient (ie not in-place)?\n",
    "from nose.tools import assert_equal, assert_raises\n",
     },
     "outputs": [],
     "source": [
      "# %load test_quick_sort.py\n",
    "from nose.tools import assert_equal, assert_raises\n",
      "\n",
      "\n",
      "class TestQuickSort(object):\n",
      "    def test_quick_sort(self, func):\n",
      "        print('None input')\n",
keep keep keep keep replace keep keep keep keep keep
 Update quicksort challenge (#134)

Update constraints, test cases, code, algorithm, and tests. 
sorting_searching/quick_sort/quick_sort_challenge.ipynb