      "        stack = Stack()\n",
      "        stack.push(1)\n",
      "        stack.push(2)\n",
      "        stack.push(3)\n",
      "        assert_equal(stack.pop(), 3)\n",
      "        assert_equal(stack.peek(), 2)\n",
      "        assert_equal(stack.pop(), 2)\n",
      "        assert_equal(stack.peek(), 1)\n",
      "        assert_equal(stack.is_empty(), False)\n",
      "        assert_equal(stack.pop(), 1)\n",
      "        assert_equal(stack.peek(), None)\n",
      "        assert_equal(stack.is_empty(), True)\n",
      "\n",
      "        print('Success: test_end_to_end')\n",
      "\n",
      "\n",
      "def main():\n",
 
</s>
    "        self.assertEqual(stack.pop(), 3)\n",
    "        self.assertEqual(stack.peek(), 2)\n",
    "        self.assertEqual(stack.pop(), 2)\n",
    "        self.assertEqual(stack.peek(), 1)\n",
    "        self.assertEqual(stack.is_empty(), False)\n",
    "        self.assertEqual(stack.pop(), 1)\n",
    "        self.assertEqual(stack.peek(), None)\n",
    "        self.assertEqual(stack.is_empty(), True)\n",
      "        stack = Stack()\n",
      "        stack.push(1)\n",
      "        stack.push(2)\n",
      "        stack.push(3)\n",
    "        self.assertEqual(stack.pop(), 3)\n",
    "        self.assertEqual(stack.peek(), 2)\n",
    "        self.assertEqual(stack.pop(), 2)\n",
    "        self.assertEqual(stack.peek(), 1)\n",
    "        self.assertEqual(stack.is_empty(), False)\n",
    "        self.assertEqual(stack.pop(), 1)\n",
    "        self.assertEqual(stack.peek(), None)\n",
    "        self.assertEqual(stack.is_empty(), True)\n",
    "        self.assertEqual(stack.pop(), 3)\n",
    "        self.assertEqual(stack.peek(), 2)\n",
    "        self.assertEqual(stack.pop(), 2)\n",
    "        self.assertEqual(stack.peek(), 1)\n",
    "        self.assertEqual(stack.is_empty(), False)\n",
    "        self.assertEqual(stack.pop(), 1)\n",
    "        self.assertEqual(stack.peek(), None)\n",
    "        self.assertEqual(stack.is_empty(), True)\n",
    "        self.assertEqual(stack.pop(), 3)\n",
    "        self.assertEqual(stack.peek(), 2)\n",
    "        self.assertEqual(stack.pop(), 2)\n",
    "        self.assertEqual(stack.peek(), 1)\n",
    "        self.assertEqual(stack.is_empty(), False)\n",
    "        self.assertEqual(stack.pop(), 1)\n",
    "        self.assertEqual(stack.peek(), None)\n",
    "        self.assertEqual(stack.is_empty(), True)\n",
    "        self.assertEqual(stack.pop(), 3)\n",
    "        self.assertEqual(stack.peek(), 2)\n",
    "        self.assertEqual(stack.pop(), 2)\n",
    "        self.assertEqual(stack.peek(), 1)\n",
    "        self.assertEqual(stack.is_empty(), False)\n",
    "        self.assertEqual(stack.pop(), 1)\n",
    "        self.assertEqual(stack.peek(), None)\n",
    "        self.assertEqual(stack.is_empty(), True)\n",
    "        self.assertEqual(stack.pop(), 3)\n",
    "        self.assertEqual(stack.peek(), 2)\n",
    "        self.assertEqual(stack.pop(), 2)\n",
    "        self.assertEqual(stack.peek(), 1)\n",
    "        self.assertEqual(stack.is_empty(), False)\n",
    "        self.assertEqual(stack.pop(), 1)\n",
    "        self.assertEqual(stack.peek(), None)\n",
    "        self.assertEqual(stack.is_empty(), True)\n",
    "        self.assertEqual(stack.pop(), 3)\n",
    "        self.assertEqual(stack.peek(), 2)\n",
    "        self.assertEqual(stack.pop(), 2)\n",
    "        self.assertEqual(stack.peek(), 1)\n",
    "        self.assertEqual(stack.is_empty(), False)\n",
    "        self.assertEqual(stack.pop(), 1)\n",
    "        self.assertEqual(stack.peek(), None)\n",
    "        self.assertEqual(stack.is_empty(), True)\n",
    "        self.assertEqual(stack.pop(), 3)\n",
    "        self.assertEqual(stack.peek(), 2)\n",
    "        self.assertEqual(stack.pop(), 2)\n",
    "        self.assertEqual(stack.peek(), 1)\n",
    "        self.assertEqual(stack.is_empty(), False)\n",
    "        self.assertEqual(stack.pop(), 1)\n",
    "        self.assertEqual(stack.peek(), None)\n",
    "        self.assertEqual(stack.is_empty(), True)\n",
    "        self.assertEqual(stack.pop(), 3)\n",
    "        self.assertEqual(stack.peek(), 2)\n",
    "        self.assertEqual(stack.pop(), 2)\n",
    "        self.assertEqual(stack.peek(), 1)\n",
    "        self.assertEqual(stack.is_empty(), False)\n",
    "        self.assertEqual(stack.pop(), 1)\n",
    "        self.assertEqual(stack.peek(), None)\n",
    "        self.assertEqual(stack.is_empty(), True)\n",
      "\n",
      "        print('Success: test_end_to_end')\n",
      "\n",
      "\n",
      "def main():\n",
keep keep keep keep replace replace replace replace replace replace replace replace keep keep keep keep keep
 #273: Remove nose dependency for stacks_queues/ (#276)
stacks_queues/stack/stack_solution.ipynb