      "class TestMaxProfit(object):\n",
      "\n",
      "    def test_max_profit(self):\n",
      "        solution = Solution()\n",
      "        assert_raises(TypeError, solution.find_max_profit, None)\n",
      "        assert_raises(ValueError, solution.find_max_profit, [])\n",
      "        assert_equal(solution.find_max_profit([8, 5, 3, 2, 1]), -1)\n",
      "        assert_equal(solution.find_max_profit([5, 3, 7, 4, 2, 6, 9]), 7)\n",
      "        print('Success: test_max_profit')\n",
      "\n",
      "\n",
      "def main():\n",
      "    test = TestMaxProfit()\n",
 
</s> remove     "        assert_raises(TypeError, solution.find_max_profit, None)\n",
    "        assert_raises(ValueError, solution.find_max_profit, [])\n",
    "        assert_equal(solution.find_max_profit([8, 5, 3, 2, 1]), -1)\n",
    "        assert_equal(solution.find_max_profit([5, 3, 7, 4, 2, 6, 9]), 7)\n",
 </s> add     "        self.assertRaises(TypeError, solution.find_max_profit, None)\n",
    "        self.assertRaises(ValueError, solution.find_max_profit, [])\n",
    "        self.assertEqual(solution.find_max_profit([8, 5, 3, 2, 1]), -1)\n",
    "        self.assertEqual(solution.find_max_profit([5, 3, 7, 4, 2, 6, 9]), 7)\n", </s> remove         assert_raises(TypeError, solution.find_max_profit, None)
        assert_raises(ValueError, solution.find_max_profit, [])
        assert_equal(solution.find_max_profit([8, 5, 3, 2, 1]), -1)
        assert_equal(solution.find_max_profit([5, 3, 7, 4, 2, 6, 9]), 7)
 </s> add         self.assertRaises(TypeError, solution.find_max_profit, None)
        self.assertRaises(ValueError, solution.find_max_profit, [])
        self.assertEqual(solution.find_max_profit([8, 5, 3, 2, 1]), -1)
        self.assertEqual(solution.find_max_profit([5, 3, 7, 4, 2, 6, 9]), 7) </s> remove     "class TestMaxProfit(object):\n",
 </s> add     "class TestMaxProfit(unittest.TestCase):\n", </s> remove     "class TestMaxProfit(object):\n",
 </s> add     "class TestMaxProfit(unittest.TestCase):\n", </s> remove     "        assert_raises(TypeError, solution.mult_other_numbers, None)\n",
    "        assert_equal(solution.mult_other_numbers([0]), [])\n",
    "        assert_equal(solution.mult_other_numbers([0, 1]), [1, 0])\n",
    "        assert_equal(solution.mult_other_numbers([0, 1, 2]), [2, 0, 0])\n",
    "        assert_equal(solution.mult_other_numbers([1, 2, 3, 4]), [24, 12, 8, 6])\n",
 </s> add     "        self.assertRaises(TypeError, solution.mult_other_numbers, None)\n",
    "        self.assertEqual(solution.mult_other_numbers([0]), [])\n",
    "        self.assertEqual(solution.mult_other_numbers([0, 1]), [1, 0])\n",
    "        self.assertEqual(solution.mult_other_numbers([0, 1, 2]), [2, 0, 0])\n",
    "        self.assertEqual(solution.mult_other_numbers([1, 2, 3, 4]), [24, 12, 8, 6])\n",
    "        self.assertRaises(TypeError, solution.find_max_profit, None)\n",
    "        self.assertRaises(ValueError, solution.find_max_profit, [])\n",
    "        self.assertEqual(solution.find_max_profit([8, 5, 3, 2, 1]), -1)\n",
    "        self.assertEqual(solution.find_max_profit([5, 3, 7, 4, 2, 6, 9]), 7)\n",
      "class TestMaxProfit(object):\n",
      "\n",
      "    def test_max_profit(self):\n",
      "        solution = Solution()\n",
    "        self.assertRaises(TypeError, solution.find_max_profit, None)\n",
    "        self.assertRaises(ValueError, solution.find_max_profit, [])\n",
    "        self.assertEqual(solution.find_max_profit([8, 5, 3, 2, 1]), -1)\n",
    "        self.assertEqual(solution.find_max_profit([5, 3, 7, 4, 2, 6, 9]), 7)\n",
    "        self.assertRaises(TypeError, solution.find_max_profit, None)\n",
    "        self.assertRaises(ValueError, solution.find_max_profit, [])\n",
    "        self.assertEqual(solution.find_max_profit([8, 5, 3, 2, 1]), -1)\n",
    "        self.assertEqual(solution.find_max_profit([5, 3, 7, 4, 2, 6, 9]), 7)\n",
    "        self.assertRaises(TypeError, solution.find_max_profit, None)\n",
    "        self.assertRaises(ValueError, solution.find_max_profit, [])\n",
    "        self.assertEqual(solution.find_max_profit([8, 5, 3, 2, 1]), -1)\n",
    "        self.assertEqual(solution.find_max_profit([5, 3, 7, 4, 2, 6, 9]), 7)\n",
    "        self.assertRaises(TypeError, solution.find_max_profit, None)\n",
    "        self.assertRaises(ValueError, solution.find_max_profit, [])\n",
    "        self.assertEqual(solution.find_max_profit([8, 5, 3, 2, 1]), -1)\n",
    "        self.assertEqual(solution.find_max_profit([5, 3, 7, 4, 2, 6, 9]), 7)\n",
      "        print('Success: test_max_profit')\n",
      "\n",
      "\n",
      "def main():\n",
      "    test = TestMaxProfit()\n",
keep keep keep keep replace replace replace replace keep keep keep keep keep
 #273: Remove nose dependency for online_judges/ (#282) 
online_judges/max_profit/max_profit_challenge.ipynb