      "\n",
      "    def test_new_int(self):\n",
      "        bits = Bits()\n",
      "        max_size = 32\n",
      "        assert_raises(TypeError, bits.new_int, None, max_size)\n",
      "        assert_raises(TypeError, bits.new_int, [], max_size)\n",
      "        data = [item for item in range(30)]\n",
      "        data.append(31)\n",
      "        assert_equal(bits.new_int(data, max_size), 30)\n",
      "        data = [item for item in range(32)]\n",
      "        assert_equal(bits.new_int(data, max_size), None)\n",
 
</s>
    "        self.assertRaises(TypeError, bits.new_int, None, max_size)\n",
    "        self.assertRaises(TypeError, bits.new_int, [], max_size)\n",
      "\n",
      "    def test_new_int(self):\n",
      "        bits = Bits()\n",
      "        max_size = 32\n",
    "        self.assertRaises(TypeError, bits.new_int, None, max_size)\n",
    "        self.assertRaises(TypeError, bits.new_int, [], max_size)\n",
    "        self.assertRaises(TypeError, bits.new_int, None, max_size)\n",
    "        self.assertRaises(TypeError, bits.new_int, [], max_size)\n",
      "        data = [item for item in range(30)]\n",
      "        data.append(31)\n",
      "        assert_equal(bits.new_int(data, max_size), 30)\n",
      "        data = [item for item in range(32)]\n",
      "        assert_equal(bits.new_int(data, max_size), None)\n",
keep keep keep keep replace replace keep keep keep keep keep
 #273: Remove nose dependency for sorting_searching/ (#278)
sorting_searching/new_int/new_int_solution.ipynb